Browse Source

Will this fix the build?

tags/for_ajdt1_1_12
aclement 20 years ago
parent
commit
ba6b00472c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      bridge/src/org/aspectj/bridge/WeaveMessage.java

+ 1
- 1
bridge/src/org/aspectj/bridge/WeaveMessage.java View File

@@ -51,7 +51,7 @@ public class WeaveMessage extends Message {
String[] inserts) {
StringBuffer str = new StringBuffer(kind.getMessage());
int pos = -1;
while ((pos=str.indexOf("%"))!=-1) {
while ((pos=new String(str).indexOf("%"))!=-1) {
int n = Character.getNumericValue(str.charAt(pos+1));
str.replace(pos,pos+2,inserts[n-1]);
}

Loading…
Cancel
Save