Refactor core-java (#2324)

This commit is contained in:
Grzegorz Piwowarek 2017-07-28 18:15:37 +02:00 committed by GitHub
parent d71f330b09
commit 9b143b820c
4 changed files with 29 additions and 33 deletions

View File

@ -19,7 +19,5 @@ public class CyclicBarrierExample {
t2.start();
t3.start();
}
}
}

View File

@ -21,5 +21,4 @@ public class Task implements Runnable {
e.printStackTrace();
}
}
}

View File

@ -4,7 +4,7 @@ public class Rectangle extends Shape {
private double width;
private double length;
public Rectangle(double width, double length) {
Rectangle(double width, double length) {
this.width = width;
this.length = length;
}

View File

@ -1,11 +1,10 @@
package org.baeldung.executable;
import javax.swing.JOptionPane;
import javax.swing.*;
public class ExecutableMavenJar {
public static void main(String[] args) {
JOptionPane.showMessageDialog(null, "It worked!", "Executable Jar with Maven", 1);
}
}