Commit Graph

453 Commits

Author SHA1 Message Date
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
Adrian Cole a0e038d9df fixed slf4j format 2012-01-07 16:25:33 -08:00
Adrian Cole b049e93401 switched to slf4j for virtualbox 2012-01-07 16:25:33 -08:00
andreaturli 97d5b49c90 issue 384: change properties.put(PROPERTY_IMAGE_ID, "ubuntu-10.04.3-server-i386"); 2012-01-07 21:14:30 +00:00
andreaturli 46a5d6f504 issue 384: fix some tests, only testCreateNodeWithGroupEncodedIntoNameThenStoreCredentials now fails 2012-01-07 21:09:20 +00:00
Adrian Cole b2a9313c85 refactored config handling in virtualbox and cleaned up classes 2012-01-07 06:11:01 -08:00