mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-03 15:15:54 +00:00
Foreach loops
This commit is contained in:
1 parent
144642ca54
commit
e5166f7f8d
2 files changed
+5
-5
No files matched your search
@@ -905,10 +905,10 @@ public class Util {
|
||||
}
|
||||
|
||||
byte[] bytes = new String(new int[] { codePoint }, 0, 1).getBytes(StandardCharsets.UTF_8);
|
||||
for(int j=0;j<bytes.length;j++) {
|
||||
for (byte aByte : bytes) {
|
||||
out.append('%');
|
||||
out.append(toDigit((bytes[j] >> 4) & 0xF));
|
||||
out.append(toDigit(bytes[j] & 0xF));
|
||||
out.append(toDigit((aByte >> 4) & 0xF));
|
||||
out.append(toDigit(aByte & 0xF));
|
||||
}
|
||||
|
||||
if(Character.charCount(codePoint) > 1) {
|
||||
|
||||
Reference in new issue
Block a user