mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 08:45:34 +07:00
Java: Fixed conversion of constructor parameters for java.awt.Color (IDEA-172996)
This commit is contained in:
+2
-2
@@ -1,9 +1,9 @@
|
||||
// "Convert to 'new Color(37, 100, 120, 140)'" "true"
|
||||
// "Convert to 'new Color(100, 120, 140, 37)'" "true"
|
||||
|
||||
package java.awt;
|
||||
|
||||
class A {
|
||||
private Color color = new Color(37, 100, 120, 140);
|
||||
private Color color = new Color(100, 120, 140, 37);
|
||||
}
|
||||
|
||||
class Color {
|
||||
|
||||
+2
-2
@@ -1,9 +1,9 @@
|
||||
// "Convert to 'new Color(0x2564788c,true)'" "true"
|
||||
// "Convert to 'new Color(0x8c256478,true)'" "true"
|
||||
|
||||
package java.awt;
|
||||
|
||||
class A {
|
||||
private Color color = new Color(0x2564788c, true);
|
||||
private Color color = new Color(0x8c256478, true);
|
||||
}
|
||||
|
||||
class Color {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert to 'new Color(37, 100, 120, 140)'" "true"
|
||||
// "Convert to 'new Color(100, 120, 140, 37)'" "true"
|
||||
|
||||
package java.awt;
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Convert to 'new Color(0x2564788c,true)'" "true"
|
||||
// "Convert to 'new Color(0x8c256478,true)'" "true"
|
||||
|
||||
package java.awt;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user