Refactor core-java (#2324)
This commit is contained in:
parent
d71f330b09
commit
9b143b820c
@ -19,7 +19,5 @@ public class CyclicBarrierExample {
|
|||||||
t2.start();
|
t2.start();
|
||||||
t3.start();
|
t3.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -21,5 +21,4 @@ public class Task implements Runnable {
|
|||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@ public class Rectangle extends Shape {
|
|||||||
private double width;
|
private double width;
|
||||||
private double length;
|
private double length;
|
||||||
|
|
||||||
public Rectangle(double width, double length) {
|
Rectangle(double width, double length) {
|
||||||
this.width = width;
|
this.width = width;
|
||||||
this.length = length;
|
this.length = length;
|
||||||
}
|
}
|
||||||
|
@ -1,11 +1,10 @@
|
|||||||
package org.baeldung.executable;
|
package org.baeldung.executable;
|
||||||
|
|
||||||
import javax.swing.JOptionPane;
|
import javax.swing.*;
|
||||||
|
|
||||||
public class ExecutableMavenJar {
|
public class ExecutableMavenJar {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
JOptionPane.showMessageDialog(null, "It worked!", "Executable Jar with Maven", 1);
|
JOptionPane.showMessageDialog(null, "It worked!", "Executable Jar with Maven", 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user