IDEA-127533 int field is displayed as char - show only reasonable ascii as chars

This commit is contained in:
Egor.Ushakov
2017-05-04 12:52:28 +03:00
parent 1c0cad79c6
commit 844177d33e
4 changed files with 62 additions and 3 deletions

View File

@@ -72,4 +72,15 @@ public class TestPrimitives {
public void constructor() {
new Byte((byte)1);
}
private boolean compare(char c) {
boolean res = (c > -1);
res = (c > 0);
res = (c > 1);
res = (c > 'a');
res = (c > 'Z');
res = (c > 127);
res = (c > 255);
return res;
}
}