Skip to content

Commit

Permalink
removing ClassInstanceManager from GaugeRuntime.java
Browse files Browse the repository at this point in the history
  • Loading branch information
kashishm committed Feb 18, 2015
1 parent 896a257 commit 08bc27e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/thoughtworks/gauge/GaugeRuntime.java
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ private static void scanForStepImplementations(GaugeConnection gaugeApiConnectio
StepValue stepValue = gaugeApiConnection.getStepValue(stepName);
String fileName = null;
try {
fileName = ClassInstanceManager.get(method.getDeclaringClass()).getClass().getCanonicalName().replace(".",File.separator) + ".java";
fileName = method.getDeclaringClass().getCanonicalName().replace(".",File.separator) + ".java";
} catch (Exception ignored) {
}
StepRegistry.addStepImplementation(stepValue, method, fileName);
Expand Down

0 comments on commit 08bc27e

Please sign in to comment.