Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | polish | Andy Clement | 2020-08-16 | 3 | -194/+197 | |
| | ||||||
* | Merge branch 'master' into feature/collection-performance | Andy Clement | 2020-08-15 | 15 | -19/+3 | |
|\ | ||||||
| * | Cleanup unused imports | Lars Grefer | 2020-08-16 | 18 | -18/+0 | |
| | | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de> | |||||
| * | Update to JUnit 4.13 | Lars Grefer | 2020-08-15 | 3 | -6/+3 | |
| | | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de> | |||||
* | | Weaken Collection declarations | Lars Grefer | 2020-08-15 | 25 | -72/+68 | |
| | | | | | | | | | | | | 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() call | Lars Grefer | 2020-08-15 | 7 | -30/+17 | |
| | | | | | | | | | | | | 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 style | Lars Grefer | 2020-08-15 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | 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> | |||||
* | | Manual array copy | Lars Grefer | 2020-08-15 | 1 | -6/+2 | |
| | | | | | | | | | | | | 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 Grefer | 2020-08-15 | 3 | -5/+5 | |
| | | | | | | | | | | | | Reports calls to Collections.sort(list, comparator) which could be replaced with list.sort(comparator). Signed-off-by: Lars Grefer <eclipse@larsgrefer.de> | |||||
* | | Manual array to collection copy | Lars Grefer | 2020-08-15 | 3 | -16/+4 | |
|/ | | | | | | 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> | |||||
* | Merge branch 'master' of github.com:eclipse/org.aspectj into ↵ | Lars Grefer | 2020-08-14 | 2 | -5/+6 | |
|\ | | | | | | | remove-old-version-checks | |||||
| * | Attempting to get J11 build happy at github | Andy Clement | 2020-08-13 | 1 | -4/+0 | |
| | | ||||||
| * | Making tests behave on 11 | Andy Clement | 2020-08-13 | 1 | -1/+6 | |
| | | ||||||
* | | Simplify checks for Java 8 to true | Lars Grefer | 2020-08-14 | 1 | -1/+1 | |
| | | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de> | |||||
* | | Remove checks for old Java Versions | Lars Grefer | 2020-08-13 | 1 | -4/+4 | |
|/ | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de> | |||||
* | Use the diamond operator where possible | Lars Grefer | 2020-08-13 | 17 | -48/+48 | |
| | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de> | |||||
* | Unnecessary unboxing | Lars Grefer | 2020-08-08 | 9 | -10/+10 | |
| | | | | | | Reports "unboxing", e.g. explicit unwrapping of wrapped primitive values. Unboxing is unnecessary under Java 5 and newer, and can be safely removed. Signed-off-by: Lars Grefer <eclipse@larsgrefer.de> | |||||
* | Unnecessary boxing | Lars Grefer | 2020-08-08 | 3 | -5/+5 | |
| | | | | | | Reports explicit boxing, i.e. wrapping of primitive values in objects. Explicit manual boxing is unnecessary under Java 5 and newer, and can be safely removed. Signed-off-by: Lars Grefer <eclipse@larsgrefer.de> | |||||
* | 'String.indexOf()' expression is replaceable with 'contains()' | Lars Grefer | 2020-08-08 | 16 | -32/+32 | |
| | | | | | | Reports any String.indexOf() expressions which can be replaced with a call to the String.contains() method available in Java 5 and newer. Signed-off-by: Lars Grefer <eclipse@larsgrefer.de> | |||||
* | 'for' loop replaceable with enhanced 'for' loop | Lars Grefer | 2020-08-08 | 38 | -810/+748 | |
| | | | | | | Reports for loops which iterate over collections or arrays, and can be replaced with an enhanced for loop (i.e. the foreach iteration syntax). Signed-off-by: Lars Grefer <eclipse@larsgrefer.de> | |||||
* | Polish | Andy Clement | 2020-07-22 | 1 | -323/+332 | |
| | ||||||
* | Include JDTCore for Java14 | Andy Clement | 2020-04-20 | 4 | -27/+55 | |
| | ||||||
* | polish | Andy Clement | 2019-11-29 | 4 | -1723/+1765 | |
| | ||||||
* | polish | Andy Clement | 2019-11-28 | 34 | -169/+273 | |
| | ||||||
* | Fix 550494 | Andy Clement | 2019-11-27 | 1 | -20/+19 | |
| | ||||||
* | Java 13 support | Andy Clement | 2019-11-25 | 2 | -16/+50 | |
| | ||||||
* | Updated with Java12 support | Andy Clement | 2019-04-03 | 5 | -6/+59 | |
| | ||||||
* | windows compatibility in tests | Andy Clement | 2019-03-03 | 1 | -1/+4 | |
| | ||||||
* | improved test harnesses for working with runtime | Andy Clement | 2019-02-19 | 1 | -0/+1 | |
| | ||||||
* | add missing license | Andy Clement | 2019-02-11 | 1 | -0/+12 | |
| | ||||||
* | polish | Andy Clement | 2019-02-11 | 5 | -29/+29 | |
| | ||||||
* | better test tidyup | Andy Clement | 2019-02-11 | 2 | -6/+7 | |
| | ||||||
* | tidyup | Andy Clement | 2019-02-08 | 1 | -0/+1 | |
| | ||||||
* | Fix getSpecFile() to work with URLs and adjust installer unpacker | Andy Clement | 2019-02-08 | 3 | -6/+10 | |
| | ||||||
* | Add module tests back in - but streamlined | Andy Clement | 2019-02-01 | 2 | -3/+64 | |
| | ||||||
* | various polish to previously mavenized projects to support newer ones | Andy Clement | 2019-01-31 | 2 | -16/+18 | |
| | ||||||
* | mavenizing testing - done | Andy Clement | 2019-01-30 | 89 | -207/+0 | |
| | ||||||
* | mavenizing testing - wip | Andy Clement | 2019-01-30 | 110 | -0/+6828 | |
| | ||||||
* | Upgraded test infra to support building/running modules | Andy Clement | 2017-10-20 | 3 | -3/+21 | |
| | ||||||
* | fix warnings in build - support .isJava8 option in buildV1_8_10 | Andy Clement | 2016-12-09 | 1 | -4/+4 | |
| | ||||||
* | Fix 500035: handling target only binding in @AJ pointcut | Andy Clement | 2016-11-18 | 6 | -97/+89 | |
| | ||||||
* | enabling AJDT to use annotation processors | Andy Clement | 2014-08-20 | 1 | -0/+8 | |
| | ||||||
* | generics | Andy Clement | 2012-03-02 | 1 | -16/+16 | |
| | ||||||
* | generics | Andy Clement | 2012-03-02 | 1 | -7/+7 | |
| | ||||||
* | 239649 and primitives no longer all resolved by default | aclement | 2011-08-12 | 1 | -15/+15 | |
| | ||||||
* | refactoring: pulled testcode up into this class from subtypes | aclement | 2011-08-05 | 1 | -918/+845 | |
| | ||||||
* | 290741: encoding option on ICompilerConfiguration | aclement | 2011-04-04 | 1 | -3/+10 | |
| | ||||||
* | generics | aclement | 2010-07-14 | 1 | -134/+123 | |
| | ||||||
* | 271201: inpath handles | aclement | 2009-04-06 | 1 | -0/+5 | |
| | ||||||
* | 268827: ask for the JDT project state | aclement | 2009-03-24 | 1 | -0/+5 | |
| |