mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-08 18:32:56 +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)) {
|
||||
break;
|
||||
}
|
||||
int len = getLongestValidParentheses(str);
|
||||
System.out.println(len);
|
||||
|
||||
System.out.println("Len is: " + getLongestValidParentheses(str));
|
||||
}
|
||||
|
||||
sc.close();
|
||||
|
Reference in New Issue
Block a user