Skip to content

Commit

Permalink
chore: removed getMdibAccessDescriptionVersion and getMdibAccessMdSta…
Browse files Browse the repository at this point in the history
…teVersion from ImpliedValueUtil.java
  • Loading branch information
belagertem committed Jan 20, 2025
1 parent dde1045 commit 3121ade
Showing 1 changed file with 0 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -373,17 +373,6 @@ public static BigInteger getDescriptionVersion(final @Nullable MdDescription mdD
return BigInteger.ZERO;
}

/**
* Retrieves the description version of mdib access or the implied value.
*
* @param mdibAccess to retrieve the description version from
* @return the description version
*/
public static BigInteger getMdibAccessDescriptionVersion(final MdibAccess mdibAccess) {
final var descriptionVersion = mdibAccess.getMdDescriptionVersion();
return descriptionVersion != null ? descriptionVersion : BigInteger.ZERO;
}

/**
* Retrieves the language of an mds state or the implied value.
*
Expand Down Expand Up @@ -420,17 +409,6 @@ public static BigInteger getMdStateStateVersion(final @Nullable MdState mdState)
return BigInteger.ZERO;
}

/**
* Retrieves the md state version of mdib access or the implied value.
*
* @param mdibAccess to retrieve the state version from
* @return the state version
*/
public static BigInteger getMdibAccessMdStateVersion(final MdibAccess mdibAccess) {
final var stateVersion = mdibAccess.getMdStateVersion();
return stateVersion != null ? stateVersion : BigInteger.ZERO;
}

/**
* Retrieves the version of a mdib version or the implied value.
*
Expand Down

0 comments on commit 3121ade

Please sign in to comment.