File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/org/apache/commons/codec/language Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ private Branch() {
9090 *
9191 * @return a new, identical branch
9292 */
93- public Branch createBranch () {
93+ private Branch createBranch () {
9494 final Branch branch = new Branch ();
9595 branch .builder .append (toString ());
9696 branch .lastReplacement = this .lastReplacement ;
@@ -112,7 +112,7 @@ public boolean equals(final Object other) {
112112 /**
113113 * Finish this branch by appending '0's until the maximum code length has been reached.
114114 */
115- public void finish () {
115+ private void finish () {
116116 while (builder .length () < MAX_LENGTH ) {
117117 builder .append ('0' );
118118 cachedString = null ;
@@ -132,7 +132,7 @@ public int hashCode() {
132132 * @param forceAppend
133133 * indicates if the default processing shall be overridden
134134 */
135- public void processNextReplacement (final String replacement , final boolean forceAppend ) {
135+ private void processNextReplacement (final String replacement , final boolean forceAppend ) {
136136 final boolean append = lastReplacement == null || !lastReplacement .endsWith (replacement ) || forceAppend ;
137137
138138 if (append && builder .length () < MAX_LENGTH ) {
You can’t perform that action at this time.
0 commit comments