Skip to content

Commit fa107e9

Browse files
committed
Renaming to clarify
1 parent 80088d7 commit fa107e9

File tree

7 files changed

+43
-15
lines changed

7 files changed

+43
-15
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package net.batmat.econ2015.logicalstructureandbreakpointing;
1+
package net.batmat.econ2015.breakpointing;
22

33

44
public class Breakpointing {
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
package net.batmat.econ2015.logicalstructureandbreakpointing;
1+
package net.batmat.econ2015.breakpointing;
22

33
import java.util.Base64;
44

5-
public class Demo {
5+
public class LogicalStructure {
66
public static class MyGreatPhysicalStructure {
77
public String encodedContent;
88

@@ -19,21 +19,10 @@ public String toString() {
1919

2020
public static void main(String[] args) {
2121

22-
conditionalBreakpointHack();
23-
24-
// demoLogicalStructure();
25-
26-
}
27-
28-
private static void demoLogicalStructure() {
2922
MyGreatPhysicalStructure myGreatPhysicalStructure = new MyGreatPhysicalStructure(
3023
"here we are");
31-
24+
3225
System.out.println(myGreatPhysicalStructure.toString());
33-
}
34-
35-
private static void conditionalBreakpointHack() {
36-
System.out.println("Some String".substring(0, 5));
3726

3827
}
3928
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package net.batmat.econ2015.logicalstructure;
2+
3+
4+
public class Breakpointing {
5+
public static void main(String[] args) {
6+
7+
System.out.println("Here");
8+
System.out.println("Some String".substring(0, 5));
9+
System.out.println("There");
10+
}
11+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
package net.batmat.econ2015.logicalstructure;
2+
3+
import java.util.Base64;
4+
5+
public class LogicalStructure {
6+
public static class MyGreatPhysicalStructure {
7+
public String encodedContent;
8+
9+
public MyGreatPhysicalStructure(String content) {
10+
encodedContent = Base64.getEncoder().encodeToString(
11+
content.getBytes());
12+
}
13+
14+
@Override
15+
public String toString() {
16+
return encodedContent;
17+
}
18+
}
19+
20+
public static void main(String[] args) {
21+
22+
MyGreatPhysicalStructure myGreatPhysicalStructure = new MyGreatPhysicalStructure(
23+
"here we are");
24+
25+
System.out.println(myGreatPhysicalStructure.toString());
26+
27+
}
28+
}

0 commit comments

Comments
 (0)