Skip to content

Commit cd17929

Browse files
committed
reduce visibility of constant.
1 parent 2370573 commit cd17929

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/org/sosy_lab/java_smt/basicimpl/AbstractFormulaManager.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public abstract class AbstractFormulaManager<TFormulaInfo, TType, TEnv, TFuncDec
9191
* SMTInterpol has problems with some of them. For consistency, we disallow those names for all
9292
* solvers.
9393
*/
94-
static final CharMatcher DISALLOWED_CHARACTERS = CharMatcher.anyOf("|\\");
94+
private static final CharMatcher DISALLOWED_CHARACTERS = CharMatcher.anyOf("|\\");
9595

9696
private final @Nullable AbstractArrayFormulaManager<TFormulaInfo, TType, TEnv, TFuncDecl>
9797
arrayManager;
@@ -426,7 +426,7 @@ private Formula replace(Formula f) {
426426
* <p>This method must be kept in sync with {@link #checkVariableName}.
427427
*/
428428
@Override
429-
public boolean isValidName(String pVar) {
429+
public final boolean isValidName(String pVar) {
430430
if (pVar.isEmpty()) {
431431
return false;
432432
}

0 commit comments

Comments
 (0)