Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' into feature/collection-performance | Andy Clement | 2020-08-15 | 3 | -4/+0 |
|\ | |||||
| * | Cleanup unused imports | Lars Grefer | 2020-08-16 | 4 | -5/+0 |
| | | | | | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de> | ||||
* | | Weaken Collection declarations | Lars Grefer | 2020-08-15 | 2 | -2/+3 |
| | | | | | | | | | | | | 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 | 2 | -4/+2 |
| | | | | | | | | | | | | 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> | ||||
* | Use the diamond operator where possible | Lars Grefer | 2020-08-13 | 3 | -12/+12 |
| | | | | Signed-off-by: Lars Grefer <eclipse@larsgrefer.de> | ||||
* | Unnecessary unboxing | Lars Grefer | 2020-08-08 | 2 | -6/+6 |
| | | | | | | 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> | ||||
* | 'String.indexOf()' expression is replaceable with 'contains()' | Lars Grefer | 2020-08-08 | 3 | -8/+8 |
| | | | | | | 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> | ||||
* | 'while' loop replaceable with enhanced 'for' loop | Lars Grefer | 2020-08-08 | 1 | -9/+7 |
| | | | | | | Reports while loops which iterate over collections, and can be replaced with an enhanced for loop (i.e. foreach iteration syntax). Signed-off-by: Lars Grefer <eclipse@larsgrefer.de> | ||||
* | 'for' loop replaceable with enhanced 'for' loop | Lars Grefer | 2020-08-08 | 8 | -156/+154 |
| | | | | | | 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> | ||||
* | Rev to 1.9.7.BUILD-SNAPSHOT | Andy Clement | 2020-07-22 | 1 | -1/+1 |
| | |||||
* | AspectJ 1.9.6 final bitsV1_9_6 | Andy Clement | 2020-07-22 | 1 | -1/+1 |
| | |||||
* | Include JDTCore for Java14 | Andy Clement | 2020-04-20 | 1 | -105/+105 |
| | |||||
* | Move to 1.9.6.BUILD-SNAPSHOT version | Andy Clement | 2019-11-28 | 1 | -1/+1 |
| | |||||
* | 1.9.5 release versions in pomsV1_9_5 | Andy Clement | 2019-11-28 | 1 | -1/+1 |
| | |||||
* | Java 13 support | Andy Clement | 2019-11-25 | 2 | -94/+93 |
| | |||||
* | Update to 1.9.5.BUILD-SNAPSHOT in poms | Andy Clement | 2019-06-03 | 1 | -1/+1 |
| | |||||
* | 1.9.4 POMS | Andy Clement | 2019-05-10 | 1 | -1/+1 |
| | |||||
* | pushed versions to 1.9.4.BUILD-SNAPSHOT | Andy Clement | 2019-04-17 | 1 | -1/+1 |
| | |||||
* | Updated with Java12 support | Andy Clement | 2019-04-03 | 1 | -3/+3 |
| | |||||
* | 1.9.3.RC1 final bitsV1_9_3RC1 | Andy Clement | 2019-03-07 | 1 | -0/+3 |
| | |||||
* | move aspectjTaskdefs.properties into src/main/resources | Andy Clement | 2019-02-07 | 1 | -0/+0 |
| | |||||
* | Add module tests back in - but streamlined | Andy Clement | 2019-02-01 | 1 | -0/+28 |
| | |||||
* | mavenizing taskdefs - done | Andy Clement | 2019-01-30 | 2 | -64/+0 |
| | |||||
* | mavenizing taskdefs - wip | Andy Clement | 2019-01-30 | 21 | -44/+60 |
| | |||||
* | 1.9.2.RC1 changesV1_9_2_RC1 | Andy Clement | 2018-09-29 | 1 | -3/+3 |
| | |||||
* | Support Java10 | Andy Clement | 2018-04-18 | 1 | -3/+3 |
| | |||||
* | Fix Bug 531179 - Add compiler arg support to iajc task | Andy Clement | 2018-02-14 | 3 | -26/+111 |
| | |||||
* | add generics | Andy Clement | 2018-02-14 | 1 | -13/+15 |
| | |||||
* | JDT Upgrade for 1.9.0.rc3 | Andy Clement | 2018-02-05 | 1 | -25/+22 |
| | |||||
* | Improved Java9 option handling | Andy Clement | 2017-09-27 | 1 | -3/+3 |
| | |||||
* | Merged post 1.8.5 changes into Java9 branch | Andy Clement | 2017-09-20 | 1 | -0/+4 |
|\ | |||||
| * | 462146: -parameters option on iajc | Andy Clement | 2015-03-26 | 1 | -0/+4 |
| | | |||||
* | | Further 1.9 changes: better handling of source/targetV1_9_0_BETA5 | Andy Clement | 2016-07-26 | 1 | -3/+3 |
|/ | |||||
* | Use generics | Andy Clement | 2014-10-08 | 2 | -41/+39 |
| | |||||
* | add apt args when calling from ant (AjcTask) | hsestupin | 2014-08-11 | 2 | -0/+71 |
| | | | | Signed-off-by: hsestupin <stupin.sergey@gmail.com> | ||||
* | ASM 5.0.1 plus polish/formatting | Andy Clement | 2014-04-01 | 1 | -3/+3 |
| | |||||
* | AspectJ 1.8 | Andy Clement | 2013-07-29 | 1 | -4/+13 |
| | |||||
* | 376990: iajc does not support source compliance level 1.7 | Andy Clement | 2012-04-17 | 1 | -3/+3 |
| | |||||
* | 319595: -xmlConfigured in ajctask | aclement | 2010-07-12 | 1 | -1/+5 |
| | |||||
* | timers and improved signature pattern matching | aclement | 2009-11-09 | 1 | -4/+12 |
| | |||||
* | 124460 and refactoring | aclement | 2009-09-15 | 1 | -0/+27 |
| | |||||
* | 261808: fix | aclement | 2009-01-31 | 1 | -2026/+1923 |
| | |||||
* | 240234, comment 19 - patch for ajdoc | aclement | 2008-07-31 | 1 | -10/+58 |
| | |||||
* | switch to container from jrelib | aclement | 2008-06-06 | 1 | -3/+3 |
| | |||||
* | 231963: implementation, allow -checkRuntimeVersion:true or false | aclement | 2008-05-13 | 1 | -0/+4 |
| | |||||
* | fix for 224962 - cope with 1.6 | aclement | 2008-04-01 | 1 | -3/+3 |
| | |||||
* | 168795 - ajdoc dependency added | aclement | 2007-02-19 | 1 | -40/+11 |
| | |||||
* | 168795: reactivating ajdoc task | aclement | 2007-02-19 | 3 | -718/+729 |
| | |||||
* | 170102: allow more warnings in <iajc warn= > | aclement | 2007-01-11 | 1 | -2/+23 |
| |