Align Visibility Modifiers in Odm
Issue gh-750
This commit is contained in:
@@ -36,14 +36,14 @@ import org.springframework.ldap.odm.tools.SyntaxToJavaClass.ClassInfo;
|
||||
|
||||
private final Set<String> binarySet;
|
||||
|
||||
public SchemaReader(DirContext schemaContext, SyntaxToJavaClass syntaxToJavaClass, Set<String> binarySet) {
|
||||
SchemaReader(DirContext schemaContext, SyntaxToJavaClass syntaxToJavaClass, Set<String> binarySet) {
|
||||
this.schemaContext = schemaContext;
|
||||
this.syntaxToJavaClass = syntaxToJavaClass;
|
||||
this.binarySet = binarySet;
|
||||
}
|
||||
|
||||
// Get the object schema for the given object classes
|
||||
public ObjectSchema getObjectSchema(Set<String> objectClasses) throws NamingException, ClassNotFoundException {
|
||||
ObjectSchema getObjectSchema(Set<String> objectClasses) throws NamingException, ClassNotFoundException {
|
||||
|
||||
ObjectSchema result = new ObjectSchema();
|
||||
createObjectClass(objectClasses, this.schemaContext, result);
|
||||
|
||||
@@ -127,7 +127,7 @@ public final class SchemaToJava {
|
||||
|
||||
private String longName;
|
||||
|
||||
private Flag(String shortName, String longName) {
|
||||
Flag(String shortName, String longName) {
|
||||
this.shortName = shortName;
|
||||
this.longName = longName;
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ public final class SchemaViewer {
|
||||
|
||||
private String longName;
|
||||
|
||||
private Flag(String shortName, String longName) {
|
||||
Flag(String shortName, String longName) {
|
||||
this.shortName = shortName;
|
||||
this.longName = longName;
|
||||
}
|
||||
@@ -100,7 +100,7 @@ public final class SchemaViewer {
|
||||
|
||||
private String value;
|
||||
|
||||
private SchemaContext(String value) {
|
||||
SchemaContext(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@@ -192,7 +192,7 @@ public final class SchemaViewer {
|
||||
|
||||
private static PrintStream outstream = System.out;
|
||||
|
||||
private final static String WILDCARD = "?";
|
||||
private static final String WILDCARD = "?";
|
||||
|
||||
public static void main(String[] argv) {
|
||||
CommandLineParser parser = new PosixParser();
|
||||
|
||||
@@ -29,7 +29,7 @@ import java.util.Map.Entry;
|
||||
|
||||
private final Map<String, ClassInfo> mapSyntaxToClassInfo = new HashMap<String, ClassInfo>();
|
||||
|
||||
public SyntaxToJavaClass(Map<String, String> mapSyntaxToClass) {
|
||||
SyntaxToJavaClass(Map<String, String> mapSyntaxToClass) {
|
||||
for (Entry<String, String> syntaxAndClass : mapSyntaxToClass.entrySet()) {
|
||||
String fullClassName = syntaxAndClass.getValue().trim();
|
||||
String packageName = null;
|
||||
@@ -46,7 +46,7 @@ import java.util.Map.Entry;
|
||||
}
|
||||
}
|
||||
|
||||
public ClassInfo getClassInfo(String syntax) {
|
||||
ClassInfo getClassInfo(String syntax) {
|
||||
return this.mapSyntaxToClassInfo.get(syntax);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user