mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-09 12:11:28 +08:00
Looks more meaningful (#2128)
Because in the future, the variable len is not used anywhere
This commit is contained in:
@ -49,8 +49,8 @@ public class LongestValidParentheses {
|
|||||||
if ("quit".equals(str)) {
|
if ("quit".equals(str)) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
int len = getLongestValidParentheses(str);
|
|
||||||
System.out.println(len);
|
System.out.println("Len is: " + getLongestValidParentheses(str));
|
||||||
}
|
}
|
||||||
|
|
||||||
sc.close();
|
sc.close();
|
||||||
|
Reference in New Issue
Block a user