Changeset 077c4a0


Ignore:
Timestamp:
Nov 7, 2015 12:47:31 PM (5 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
83b9231, c944fcce
Parents:
f5bf4ec
Message:

replaceAll → replace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/data/DataHelper.java

    rf5bf4ec r077c4a0  
    16941694        String escaped = unescaped;
    16951695        for (int i = 0; i < escapeChars.length; i++) {
    1696             escaped = escaped.replaceAll(escapeChars[i], escapeCodes[i]);
     1696            escaped = escaped.replace(escapeChars[i], escapeCodes[i]);
    16971697        }
    16981698        return escaped;
     
    17091709        String unescaped = escaped;
    17101710        for (int i = 0; i < escapeChars.length; i++) {
    1711             unescaped = unescaped.replaceAll(escapeCodes[i], escapeChars[i]);
     1711            unescaped = unescaped.replace(escapeCodes[i], escapeChars[i]);
    17121712        }
    17131713        return unescaped;
Note: See TracChangeset for help on using the changeset viewer.