Commit Graph

458 Commits

Author SHA1 Message Date
Adrian Cole 878ec1bcab undid Serializable and added checkstyle InterfaceIsType:allowMarkerInterfaces=false 2012-11-18 09:23:44 -08:00
Andrew Gaul d7380114a6 Enforce use of Atomics.newReference via Checkstyle
Avoids duplicating types.
2012-11-12 11:56:48 -08:00
Andrew Gaul 0761874578 Prefer Assert.fail over assert
The former cannot be disabled.
2012-11-03 14:51:52 -07:00
Andrew Gaul 93d69ece2b Enforce newline at end of file via Checkstyle
Also address all warnings, via:

find -name \*.java | while read i; do if [ x`tail -c 1 $i` != x"" ]; then echo >> $i; fi; done
2012-10-29 22:12:44 -07:00
Aled Sage 09425f4f69 Version upgrades
- gson from 2.2 to 2.2.2
- guava from 13.0 to 13.0.1
- rocoto from 6.1 to 6.2
- log4j from 1.2.16 to 1.2.17
- log back from 1.0.0 to 1.0.7
- httpclient from 4.1.3 to 4.2.2
- netty from 3.3.1 to 3.5.9
- slf4j from 1.6.4 to 1.7.2
- testing from various to 6.8
- jetty from 8.1.1 to 8.1.7
- snakeyaml from 1.10 to 1.11
2012-10-29 13:00:44 +00:00
Andrew Gaul 28d7a6f143 Prefer immutable over empty collections
The former does not create an object when calling iterator(), as
discussed here:

https://groups.google.com/d/msg/jclouds-dev/l7BviKDXreA/mP6Ow_RYxIgJ
2012-10-20 15:35:29 -07:00
Adrian Cole 28d766b9df bumped to 1.6.0-SNAPSHOT 2012-09-17 01:43:52 -07:00
Adrian Cole 2efd9a76ca pulled SQS out of sandbox and into labs 2012-09-10 18:02:07 -07:00
Andrew Gaul ed8319dbae Use consistent and latest version of commons-io
Changelogs:
http://commons.apache.org/io/upgradeto2_0.html
http://commons.apache.org/io/upgradeto2_2.html
http://commons.apache.org/io/upgradeto2_4.html
2012-07-30 10:58:32 -07:00
Andrew Gaul 8ed0e28e68 Spelling corrections 2012-07-26 22:39:35 -07:00
Andrew Gaul 985cccff9a Prefer valueOf over explicit object creation
This allows use of cached values.  Patched with:

find -name \*.java | xargs sed -i 's/new Boolean(false)/Boolean.FALSE/g'
find -name \*.java | xargs sed -i 's/new Boolean(true)/Boolean.TRUE/g'
find -name \*.java | xargs sed -i 's/new Boolean(/Boolean.valueOf(/g'
find -name \*.java | xargs sed -i 's/new Integer(/Integer.valueOf(/g'
find -name \*.java | xargs sed -i 's/new Long(/Long.valueOf(/g'
2012-07-22 21:01:46 -07:00
Ioannis Canellos b078adc3ce Removed fragments and dynamic imports. Added centralized control of the maven-bundle-plugin. 2012-06-03 19:41:54 +03:00
Adrian Cole 19390ea87d Merge pull request #602 from andrewgaul/propagate-or-null
Eliminate Throwables2.propagateOrNull
2012-05-02 15:21:30 -07:00
Andrew Gaul 74440a7a87 Eliminate Throwables2.propagateOrNull
Throwables.propagate always propagates the Throwable; there is no need
to return null.
2012-05-02 13:51:36 -07:00
Andrew Gaul 646f8d8b13 Improve use of Throwables.propagate
Throwing the return value removes some unneeded asserts and return
statements.  Also remove some useless and misspelled propogate
wrappers.
2012-05-02 11:05:22 -07:00
Andrew Gaul 198d19714e Prefer unsynchronized StringBuilder
A few instances remain due to EasyMock and Matcher.
2012-04-30 09:50:18 -07:00
David Ribeiro Alves 05212b75fa implemented image extension 2012-04-18 09:37:44 +01:00
Andrew Gaul b47860afc1 Use inference to elide duplicated type parameters
Found with:
grep 'Builder.*<.*>.*Immutable.*<.*>.*builder();'
2012-04-08 22:32:04 -07:00
Adrian Cole 764e0907f7 Issue 657:ApiMetadata 2012-04-01 18:43:31 -07:00
Adrian Cole 07ce0a444e Issue 852:add elb api and aws-elb provider 2012-03-03 12:00:58 -08:00
Ioannis Canellos 5490b3068c [842] Added required import packages to cloudfiles api bundle. Improved import packages in all bundles. 2012-02-17 00:49:39 +02:00
David Ribeiro Alves ca602e7db0 Moved RunScriptData to src/main as there are non test dependencies; Deleted orpah and duplicate file GuestAdditionsInstallation.java (wrong place and duplicated in InstallGuestAdditions.java) as well as duplicate script installGuestAdditions.sh (duplicated in installModuleAssistantIfNeeded.sh) 2012-02-13 05:36:14 -06:00
andreaturli 623f3c6daa issue 384: GuestAdditionsInstaller 2012-02-11 18:56:19 +00:00
Adrian Cole fe4d148528 updated current version to 1.5.0-SNAPSHOT 2012-02-04 11:06:07 -08:00
Aled Sage ab568f0a09 Issues 364 and #365: destroyNode cleans up incidental resources 2012-02-04 15:40:31 +00:00
Adrian Cole 51066b392b added vbox to labs 2012-01-30 16:38:11 -08:00
Adrian Cole 7b17255d95 added hint 2012-01-30 16:04:07 -08:00
Adrian Cole 4e76ad0b46 refactored IsLinkedClone 2012-01-29 19:58:41 -08:00
Adrian Cole 4e69321e2e reused common logic in guest addition install 2012-01-29 19:56:43 -08:00
Adrian Cole ef97bef786 cleaned impl by switching to multimap 2012-01-29 19:56:42 -08:00
Adrian Cole 6dda77b5c2 refactored sendScancodes 2012-01-29 19:56:41 -08:00
Adrian Cole 7c49d058b4 compiler warnings and imports 2012-01-29 19:56:41 -08:00
Mattias Holmqvist f9a6e642c0 Replaced Supplier with LoadingCache for @Preconfiguration. Also removed preconfiguration from IsoSpec. 2012-01-29 19:30:23 +01:00
andreaturli 1b53c2824c issue 384: refactor sendScancode - refactoring with List.partition 2012-01-29 12:20:43 +00:00
andreaturli 8258415bbd issue 384: refactor sendScancode - andrei and adrian comments addressed 2012-01-29 11:32:31 +00:00
Andrea Turli 01c3319258 issue 384: refactor sendScancode 2012-01-27 12:24:17 +00:00
andreaturli f3386f40a7 issue 384: fixed Clone and CreateAndRegister - aledsage comments addressed 2012-01-22 22:30:47 +00:00
andreaturli 6739644809 issue 384: fixed Clone and CreateAndRegister tests 2012-01-22 13:09:24 +00:00
Mattias Holmqvist 02353b93d5 Merge branch 'develop' of https://github.com/andreaturli/jclouds into pull-323
- Changed 'vboxmanage' to 'VBoxManage'
- Did some additional cleanup on the commit. Removed some unused code and some other tidying.
2012-01-20 00:04:20 +01:00
Adrian Cole de720b6da3 Issue 814:move openstack-nova to org.jclouds.labs groupId 2012-01-17 22:07:21 -08:00
andreaturli 8eb13861fc issue 384: refacoring MachineUtils. Eliminate a refuse from CreateAndRegisterMachineFromIsoIfNotAlreadyExists 2012-01-17 19:46:10 +00:00
andreaturli 6302c283a4 issue 384: refactoring of MachineUtils. NB: some tests have been disabled to finalize mock implementation later 2012-01-17 19:40:17 +00:00
Adrian Cole 3df052565f updated current version to 1.4.0-SNAPSHOT 2012-01-16 13:08:32 -08:00
Mattias Holmqvist ef0b689113 First step on IsoSpec/NetworkSpec/IMachineSpec. Also reverted ubuntu version to 11.04. 2012-01-16 00:00:42 +01:00
Mattias Holmqvist f1427fbb74 Moved statements to separate package 2012-01-15 23:49:31 +01:00
Mattias Holmqvist 82e44d952b VirtualBox: Removed private propagate-methods and use Google directly instead. Minor code cleanup. 2012-01-15 23:45:58 +01:00
andreaturli 1807f78ae2 issue 384: change MachineUtils to use MutableMachine function 2012-01-11 00:25:34 +00:00
Andrea Turli 768e16fae7 issue 384: create Mutatemachine 2012-01-11 00:25:33 +00:00
Adrian Cole e46ee9fbc4 Issue 807:update license headers 2012-01-09 10:54:57 -08:00
Adrian Cole 6b1e1af144 updated iso url 2012-01-08 00:04:04 -08:00