File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
approvaltests-util/src/main/java/com/spun/util/tests Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -221,18 +221,16 @@ private static String handleInnerClasses(String className)
221221 {
222222 return className .replaceAll ("\\ $" , "." );
223223 }
224-
225224 public static String unrollLambda (String methodName )
226225 {
227226 Matcher javaMatcher = unrollJavaLambdaPattern .matcher (methodName );
228227 if (javaMatcher .matches ())
229228 { return javaMatcher .group (1 ); }
230-
231229 Matcher kotlinMatcher = unrollKotlinLambdaPattern .matcher (methodName );
232230 if (kotlinMatcher .matches ())
233231 { return kotlinMatcher .group (1 ); }
234232 return methodName ;
235233 }
236- private static final Pattern unrollJavaLambdaPattern = Pattern .compile ("lambda\\ $(.*)\\ $\\ d+" );
234+ private static final Pattern unrollJavaLambdaPattern = Pattern .compile ("lambda\\ $(.*)\\ $\\ d+" );
237235 private static final Pattern unrollKotlinLambdaPattern = Pattern .compile ("(.*?)(\\ $lambda-\\ d+)+" );
238236}
You can’t perform that action at this time.
0 commit comments