We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9159259 + eecffe4 commit bd58af9Copy full SHA for bd58af9
1 file changed
src/main/java/utils/docgen/mongo/MongoDocumentGenerator.java
@@ -50,8 +50,8 @@ else if(keyClass.equals(CircularKey.class.getSimpleName()))
50
try {
51
this.keys = keyInstance.getConstructor(WorkLoadSettings.class).newInstance(ws);
52
this.vals = valInstance.getConstructor(WorkLoadSettings.class).newInstance(ws);
53
- this.keyMethod = this.keyInstance.getDeclaredMethod("next", long.class);
54
- this.valMethod = this.valInstance.getDeclaredMethod("next", String.class);
+ this.keyMethod = this.keyInstance.getMethod("next", long.class);
+ this.valMethod = this.valInstance.getMethod("next", String.class);
55
} catch (InstantiationException e) {
56
e.printStackTrace();
57
} catch (IllegalAccessException e) {
0 commit comments