Skip to content

Commit

Permalink
JDO-823: : Fix more sonarcloud issues of type Code Smells - Construct…
Browse files Browse the repository at this point in the history
…ors of an „abstract" class should not be declared "public"
  • Loading branch information
mboapache committed Mar 9, 2023
1 parent 14473c8 commit 6a95c71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ protected SingleFieldIdentity(Class<?> pcClass) {
*
* @since 2.0
*/
public SingleFieldIdentity() {}
protected SingleFieldIdentity() {}

/**
* Set the given key as the key for this instance. Compute the hash code for the instance.
Expand Down
2 changes: 1 addition & 1 deletion tck/src/main/resources/conf/jdo-signatures.txt
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ public class javax.jdo.identity.ShortIdentity extends javax.jdo.identity.SingleF
}

public abstract class javax.jdo.identity.SingleFieldIdentity implements java.io.Externalizable, java.lang.Comparable {
public SingleFieldIdentity();
protected SingleFieldIdentity();
public Class getTargetClass();
public String getTargetClassName();
public synchronized Object getKeyAsObject();
Expand Down

0 comments on commit 6a95c71

Please sign in to comment.