-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge ../defects4j-branch-java-11-compatibility into perlcritic-11
- Loading branch information
Showing
213 changed files
with
3,824 additions
and
11,516 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
The files (if any) in this directory are auto-generated. All tests listed in a | ||
file are broken tests (i.e., they fail on the corresponding buggy and fixed | ||
program versions) and are removed from the test sources during checkout. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../Chart/failing_tests/README.md |
32 changes: 32 additions & 0 deletions
32
framework/projects/Closure/compile-errors/test-107-109.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
diff --git a/test/com/google/debugging/sourcemap/SourceMapConsumerV3Test.java b/test/com/google/debugging/sourcemap/SourceMapConsumerV3Test.java | ||
index 0364059cf..39a501b45 100644 | ||
--- a/test/com/google/debugging/sourcemap/SourceMapConsumerV3Test.java | ||
+++ b/test/com/google/debugging/sourcemap/SourceMapConsumerV3Test.java | ||
@@ -20,6 +20,7 @@ import junit.framework.TestCase; | ||
|
||
import org.json.JSONArray; | ||
|
||
+import java.util.Collection; | ||
import java.util.Map; | ||
|
||
/** | ||
@@ -41,7 +41,8 @@ public class SourceMapConsumerV3Test extends TestCase { | ||
SourceMapConsumerV3 consumer = new SourceMapConsumerV3(); | ||
consumer.parse(sourceMap); | ||
|
||
- String[] sources = (String[]) consumer.getOriginalSources().toArray(); | ||
+ Collection<String> temp = consumer.getOriginalSources(); | ||
+ String[] sources = temp.toArray(new String[0]); | ||
|
||
assertEquals(1, sources.length); | ||
assertEquals(null, consumer.getSourceRoot()); | ||
@@ -62,7 +63,8 @@ public class SourceMapConsumerV3Test extends TestCase { | ||
SourceMapConsumerV3 consumer = new SourceMapConsumerV3(); | ||
consumer.parse(sourceMap); | ||
|
||
- String[] sources = (String[]) consumer.getOriginalSources().toArray(); | ||
+ Collection<String> temp = consumer.getOriginalSources(); | ||
+ String[] sources = temp.toArray(new String[0]); | ||
|
||
assertEquals(1, sources.length); | ||
assertEquals("http://server/path/", consumer.getSourceRoot()); |
32 changes: 32 additions & 0 deletions
32
framework/projects/Closure/compile-errors/test-175-176.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
diff --git a/test/com/google/debugging/sourcemap/SourceMapConsumerV3Test.java b/test/com/google/debugging/sourcemap/SourceMapConsumerV3Test.java | ||
index 0364059cf..39a501b45 100644 | ||
--- a/test/com/google/debugging/sourcemap/SourceMapConsumerV3Test.java | ||
+++ b/test/com/google/debugging/sourcemap/SourceMapConsumerV3Test.java | ||
@@ -20,6 +20,7 @@ import junit.framework.TestCase; | ||
|
||
import org.json.JSONArray; | ||
|
||
+import java.util.Collection; | ||
import java.util.Map; | ||
|
||
/** | ||
@@ -41,7 +41,8 @@ public class SourceMapConsumerV3Test extends TestCase { | ||
SourceMapConsumerV3 consumer = new SourceMapConsumerV3(); | ||
consumer.parse(sourceMap); | ||
|
||
- String[] sources = (String[]) consumer.getOriginalSources().toArray(); | ||
+ Collection<String> temp = consumer.getOriginalSources(); | ||
+ String[] sources = temp.toArray(new String[0]); | ||
|
||
assertEquals(1, sources.length); | ||
assertEquals(null, consumer.getSourceRoot()); | ||
@@ -62,7 +63,8 @@ public class SourceMapConsumerV3Test extends TestCase { | ||
SourceMapConsumerV3 consumer = new SourceMapConsumerV3(); | ||
consumer.parse(sourceMap); | ||
|
||
- String[] sources = (String[]) consumer.getOriginalSources().toArray(); | ||
+ Collection<String> temp = consumer.getOriginalSources(); | ||
+ String[] sources = temp.toArray(new String[0]); | ||
|
||
assertEquals(1, sources.length); | ||
assertEquals("http://server/path/", consumer.getSourceRoot()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../Chart/failing_tests/README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../Chart/failing_tests/README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../Chart/failing_tests/README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.