aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #10 from larsgrefer/cleanup/pomAndy Clement2020-08-1624-31/+0
|\ | | | | Cleanup the Maven pom.xml files
| * Remove non-existing dependencyLars Grefer2020-08-151-8/+0
| | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
| * Remove project.parent.relative path as ../pom.xml is already the defaultLars Grefer2020-08-1523-23/+0
| | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* | Reduce test output for incremental comp testsAndy Clement2020-08-155-50/+60
| |
* | Merge pull request #13 from larsgrefer/feature/collection-performanceAndy Clement2020-08-15128-491/+340
|\ \ | | | | | | Improve performance and readability of collection handling
| * \ Merge branch 'master' into feature/collection-performanceAndy Clement2020-08-15148-438/+361
| |\ \ | |/ / |/| |
* | | Merge pull request #15 from larsgrefer/update/maven/3.6.3Andy Clement2020-08-155-189/+242
|\ \ \ | | | | | | | | Update to Maven 3.6.3
| * | | Update to Maven 3.6.3Lars Grefer2020-08-165-189/+242
| | | | | | | | | | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* | | | Merge pull request #12 from larsgrefer/cleanup/unused-codeAndy Clement2020-08-15135-155/+2
|\ \ \ \ | | | | | | | | | | Cleanup unused imports
| * | | | Cleanup unused importsLars Grefer2020-08-16135-155/+2
| |/ / / | | | | | | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* | | | Merge pull request #11 from larsgrefer/feature/editorconfigAndy Clement2020-08-151-0/+20
|\ \ \ \ | |/ / / |/| | | Add a basic .editorconfig file
| * | | Add a basic .editorconfig fileLars Grefer2020-08-151-0/+20
| | | | | | | | | | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* | | | Update to JUnit 4.13Lars Grefer2020-08-1510-35/+37
| | | | | | | | | | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* | | | Merge pull request #7 from larsgrefer/patch-2Andy Clement2020-08-151-2/+2
|\ \ \ \ | | | | | | | | | | Use the Maven Wrapper for GitHub Actions
| * | | | Use the Maven Wrapper for GitHub ActionsLars Grefer2020-08-151-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* | | | | Reduce test output for incremental comp testsAndy Clement2020-08-155-49/+32
| | | | |
* | | | | Fix test on J14Andy Clement2020-08-152-18/+28
| |_|_|/ |/| | |
| | | * Weaken Collection declarationsLars Grefer2020-08-1580-199/+193
| | | | | | | | | | | | | | | | | | | | | | | | Reports on declarations of Collection variables made by using the collection class as the type, rather than an appropriate interface. Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
| | | * Redundant Collection.addAll() callLars Grefer2020-08-1528-78/+41
| | | | | | | | | | | | | | | | | | | | | | | | Reports Collection.addAll() and Map.putAll() calls after instantiation of a collection using a constructor call without arguments. Such constructs can be replaced with a single call to a parametrized constructor which simplifies code. Also for some collections the replacement might be more performant. Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
| | | * Collection.toArray() call styleLars Grefer2020-08-1529-40/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | There are two styles to convert a collection to an array: either using a pre-sized array (like c.toArray(new String[c.size()])) or using an empty array (like c.toArray(new String[0]). In older Java versions using pre-sized array was recommended, as the reflection call which is necessary to create an array of proper size was quite slow. However since late updates of OpenJDK 6 this call was intrinsified, making the performance of the empty array version the same and sometimes even better, compared to the pre-sized version. Also passing pre-sized array is dangerous for a concurrent or synchronized collection as a data race is possible between the size and toArray call which may result in extra nulls at the end of the array, if the collection was concurrently shrunk during the operation. Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
| | | * Single Map method can be usedLars Grefer2020-08-154-30/+6
| | | | | | | | | | | | | | | | | | | | | | | | Reports common usage patterns of java.util.Map that could be replaced with Java 8 methods: getOrDefault(), computeIfAbsent(), putIfAbsent(), merge(), or replaceAll(). Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
| | | * Manual array copyLars Grefer2020-08-156-69/+29
| | | | | | | | | | | | | | | | | | | | | | | | Reports the manual copying of array contents which may be replaced by calls to System.arraycopy(). Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
| | | * Collections.sort() can be replaced with List.sort()Lars Grefer2020-08-1512-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | Reports calls to Collections.sort(list, comparator) which could be replaced with list.sort(comparator). Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
| | | * Replace List.indexOf() with List.contains()Lars Grefer2020-08-151-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
| | | * Manual array to collection copyLars Grefer2020-08-1511-72/+20
| |_|/ |/| | | | | | | | | | | | | | Reports the copying of array contents to a collection where each element is added individually using a for loop. Such constructs may be replaced by a call to Collection.addAll(Arrays.asList()) or Collections.addAll(). Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* | | Fix the serial version UID contribution to work properlyAndy Clement2020-08-141-126/+126
| | |
* | | lets have maven fail if those tests fail...Andy Clement2020-08-1419-70/+90
| |/ |/|
* | typoAndy Clement2020-08-141-1/+1
| |
* | Merge pull request #5 from larsgrefer/remove-old-version-checksAndy Clement2020-08-1427-367/+196
|\ \ | |/ |/| Remove checks for old Java Versions
| * Merge branch 'master' of github.com:eclipse/org.aspectj into ↵Lars Grefer2020-08-141-2/+2
| |\ | |/ |/| | | remove-old-version-checks
* | Test on LTS versions and most recent non LTSAndy Clement2020-08-141-2/+2
| |
| * Merge branch 'master' of github.com:eclipse/org.aspectj into ↵Lars Grefer2020-08-1422-398/+371
| |\ | |/ |/| | | remove-old-version-checks
* | Merge pull request #4 from larsgrefer/feature/github-actionsAndy Clement2020-08-144-91/+9
|\ \ | | | | | | Fix and improve the CI Jobs
| * \ Merge branch 'master' of github.com:eclipse/org.aspectj into ↵Lars Grefer2020-08-1417-205/+247
| |\ \ | |/ / |/| | | | | | | | | | | feature/github-actions Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* | | Fix up tests and reduce verbosity on J11Andy Clement2020-08-1413-198/+230
| | |
* | | Attempting to get J11 build happy at githubAndy Clement2020-08-131-4/+0
| | |
* | | Making tests behave on 11Andy Clement2020-08-134-5/+19
| | |
| * | Merge branch 'feature/simplify-ajdoc' of github.com:larsgrefer/org.aspectj ↵Lars Grefer2020-08-147-196/+123
| |\ \ | | | | | | | | | | | | | | | | | | | | into feature/github-actions Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
| | * | Always run javadoc using the ToolProvider APILars Grefer2020-08-142-87/+4
| |/ / |/| | | | | | | | | | | | | | `com.sun.tools.javadoc.Main` isn't available in recent Java versions (13+) Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* | | Trying to reduce test verbosityAndy Clement2020-08-134-103/+116
| | |
| * | Fix compilation of JavadocRunner for Java 13+Lars Grefer2020-08-131-5/+7
| | | | | | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
| * | Fix JRockitAgentTest for Java 9 and 10Lars Grefer2020-08-131-1/+1
| | | | | | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
| * | Test more Java versionsLars Grefer2020-08-131-1/+2
| | | | | | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
| * | Print used tool versionsLars Grefer2020-08-131-0/+2
| | | | | | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
| * | Fix compilation on Java 11Lars Grefer2020-08-131-4/+4
| | | | | | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
| | * Simplify checks for Java 8 to trueLars Grefer2020-08-145-132/+40
| | | | | | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
| | * Remove checks for old Java VersionsLars Grefer2020-08-1324-236/+157
| |/ |/| | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
* | Adjust ASM version number used to work properly with Records (J14)Andy Clement2020-08-131-2/+3
|/
* Merge pull request #3 from larsgrefer/feature/github-actionsAndy Clement2020-08-133-6/+35
|\ | | | | Create a simple CI Job using GitHub Actions
| * Fix Javadoc generation on Java 11Lars Grefer2020-08-131-0/+1
| | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>