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() {
90
90
*
91
91
* @return a new, identical branch
92
92
*/
93
- public Branch createBranch () {
93
+ private Branch createBranch () {
94
94
final Branch branch = new Branch ();
95
95
branch .builder .append (toString ());
96
96
branch .lastReplacement = this .lastReplacement ;
@@ -112,7 +112,7 @@ public boolean equals(final Object other) {
112
112
/**
113
113
* Finish this branch by appending '0's until the maximum code length has been reached.
114
114
*/
115
- public void finish () {
115
+ private void finish () {
116
116
while (builder .length () < MAX_LENGTH ) {
117
117
builder .append ('0' );
118
118
cachedString = null ;
@@ -132,7 +132,7 @@ public int hashCode() {
132
132
* @param forceAppend
133
133
* indicates if the default processing shall be overridden
134
134
*/
135
- public void processNextReplacement (final String replacement , final boolean forceAppend ) {
135
+ private void processNextReplacement (final String replacement , final boolean forceAppend ) {
136
136
final boolean append = lastReplacement == null || !lastReplacement .endsWith (replacement ) || forceAppend ;
137
137
138
138
if (append && builder .length () < MAX_LENGTH ) {
You can’t perform that action at this time.
0 commit comments