summaryrefslogtreecommitdiff
path: root/java/typeMigration/testData/refactoring/typeMigrationByAtomic/directByte/before/Test.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/typeMigration/testData/refactoring/typeMigrationByAtomic/directByte/before/Test.java')
-rw-r--r--java/typeMigration/testData/refactoring/typeMigrationByAtomic/directByte/before/Test.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/java/typeMigration/testData/refactoring/typeMigrationByAtomic/directByte/before/Test.java b/java/typeMigration/testData/refactoring/typeMigrationByAtomic/directByte/before/Test.java
new file mode 100644
index 000000000000..fa494c28a3c4
--- /dev/null
+++ b/java/typeMigration/testData/refactoring/typeMigrationByAtomic/directByte/before/Test.java
@@ -0,0 +1,12 @@
+class Test {
+ byte b = 0;
+
+ void bar() {
+ if (b == 0) {
+ b++;
+ b += 0;
+ //System.out.println(b + 10);
+ System.out.println(b);
+ }
+ }
+} \ No newline at end of file