Skip to content

Commit

Permalink
make Entity.MessageDigestWrapper public for use by caom2
Browse files Browse the repository at this point in the history
  • Loading branch information
pdowler committed Nov 11, 2024
1 parent 2188d44 commit 51d9671
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cadc-util/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ sourceCompatibility = 1.8

group = 'org.opencadc'

version = '1.11.5'
version = '1.11.6'

description = 'OpenCADC core utility library'
def git_url = 'https://github.com/opencadc/core'
Expand Down
4 changes: 2 additions & 2 deletions cadc-util/src/main/java/org/opencadc/persist/Entity.java
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ protected final void calcMetaChecksum(Class c, Object o, MessageDigestWrapper di
}
}

private static class MessageDigestWrapper {
public static class MessageDigestWrapper {
private MessageDigest digest;
private int numBytes = 0;

Expand Down Expand Up @@ -473,7 +473,7 @@ public static boolean isChildCollection(Field f) throws IllegalAccessException {
}
return false;
}

protected byte[] primitiveValueToBytes(Object o, String name) {
byte[] ret = null;
if (o instanceof Byte) {
Expand Down

0 comments on commit 51d9671

Please sign in to comment.