JCLOUDS-1225: Address Guava 18 Objects changes
authorAndrew Gaul <gaul@apache.org>
Fri, 25 Aug 2017 01:31:07 +0000 (18:31 -0700)
committerAndrew Gaul <gaul@apache.org>
Fri, 25 Aug 2017 01:31:07 +0000 (18:31 -0700)
commit041cd8d2f775ac409ccb162c423b503ffa58b0a8
tree110217d3b84a1f7e5e83aee7b51aeec76336d8ee
parent6965d70d3f62991b0ef5edc013d282766029057a
JCLOUDS-1225: Address Guava 18 Objects changes

Fixed with:

find -name \*.java | xargs sed -i 's/Objects.[Tt]oStringHelper/More&/g'
find -name \*.java | xargs sed -i 's/Objects.firstNonNull/More&/g'
find -name \*.java | xargs sed -i 's/^\(import com.google.common.base.\)\(Objects.*\)/\1More\2\n\1\2/g'
find -name \*.java | xargs java -jar google-java-format-1.3-all-deps.jar -i --fix-imports-only --skip-sorting-imports
48 files changed:
openstack-glance/src/main/java/org/jclouds/openstack/glance/v1_0/domain/Image.java
openstack-glance/src/main/java/org/jclouds/openstack/glance/v1_0/domain/ImageDetails.java
openstack-marconi/src/main/java/org/jclouds/openstack/marconi/v1/domain/Aged.java
openstack-marconi/src/main/java/org/jclouds/openstack/marconi/v1/domain/Claim.java
openstack-marconi/src/main/java/org/jclouds/openstack/marconi/v1/domain/CreateMessage.java
openstack-marconi/src/main/java/org/jclouds/openstack/marconi/v1/domain/Message.java
openstack-marconi/src/main/java/org/jclouds/openstack/marconi/v1/domain/MessagesCreated.java
openstack-marconi/src/main/java/org/jclouds/openstack/marconi/v1/domain/MessagesStats.java
openstack-marconi/src/main/java/org/jclouds/openstack/marconi/v1/domain/Queue.java
openstack-marconi/src/main/java/org/jclouds/openstack/marconi/v1/domain/QueueStats.java
openstack-neutron/src/main/java/org/jclouds/openstack/neutron/v2/domain/AddressPair.java
openstack-neutron/src/main/java/org/jclouds/openstack/neutron/v2/domain/AllocationPool.java
openstack-neutron/src/main/java/org/jclouds/openstack/neutron/v2/domain/ExternalGatewayInfo.java
openstack-neutron/src/main/java/org/jclouds/openstack/neutron/v2/domain/ExtraDhcpOption.java
openstack-neutron/src/main/java/org/jclouds/openstack/neutron/v2/domain/FloatingIP.java
openstack-neutron/src/main/java/org/jclouds/openstack/neutron/v2/domain/HostRoute.java
openstack-neutron/src/main/java/org/jclouds/openstack/neutron/v2/domain/IP.java
openstack-neutron/src/main/java/org/jclouds/openstack/neutron/v2/domain/Network.java
openstack-neutron/src/main/java/org/jclouds/openstack/neutron/v2/domain/NetworkSegment.java
openstack-neutron/src/main/java/org/jclouds/openstack/neutron/v2/domain/Port.java
openstack-neutron/src/main/java/org/jclouds/openstack/neutron/v2/domain/Router.java
openstack-neutron/src/main/java/org/jclouds/openstack/neutron/v2/domain/RouterInterface.java
openstack-neutron/src/main/java/org/jclouds/openstack/neutron/v2/domain/Rule.java
openstack-neutron/src/main/java/org/jclouds/openstack/neutron/v2/domain/SecurityGroup.java
openstack-neutron/src/main/java/org/jclouds/openstack/neutron/v2/domain/Subnet.java
openstack-neutron/src/main/java/org/jclouds/openstack/neutron/v2/domain/lbaas/v1/HealthMonitor.java
openstack-neutron/src/main/java/org/jclouds/openstack/neutron/v2/domain/lbaas/v1/HealthMonitorStatus.java
openstack-neutron/src/main/java/org/jclouds/openstack/neutron/v2/domain/lbaas/v1/Member.java
openstack-neutron/src/main/java/org/jclouds/openstack/neutron/v2/domain/lbaas/v1/Pool.java
openstack-neutron/src/main/java/org/jclouds/openstack/neutron/v2/domain/lbaas/v1/PoolStatus.java
openstack-neutron/src/main/java/org/jclouds/openstack/neutron/v2/domain/lbaas/v1/SessionPersistence.java
openstack-neutron/src/main/java/org/jclouds/openstack/neutron/v2/domain/lbaas/v1/VIP.java
rackspace-autoscale/src/main/java/org/jclouds/rackspace/autoscale/v1/domain/CreateScalingPolicy.java
rackspace-autoscale/src/main/java/org/jclouds/rackspace/autoscale/v1/domain/CreateWebhook.java
rackspace-autoscale/src/main/java/org/jclouds/rackspace/autoscale/v1/domain/Group.java
rackspace-autoscale/src/main/java/org/jclouds/rackspace/autoscale/v1/domain/GroupConfiguration.java
rackspace-autoscale/src/main/java/org/jclouds/rackspace/autoscale/v1/domain/GroupInstance.java
rackspace-autoscale/src/main/java/org/jclouds/rackspace/autoscale/v1/domain/GroupState.java
rackspace-autoscale/src/main/java/org/jclouds/rackspace/autoscale/v1/domain/LaunchConfiguration.java
rackspace-autoscale/src/main/java/org/jclouds/rackspace/autoscale/v1/domain/LoadBalancer.java
rackspace-autoscale/src/main/java/org/jclouds/rackspace/autoscale/v1/domain/Personality.java
rackspace-autoscale/src/main/java/org/jclouds/rackspace/autoscale/v1/domain/ScalingPolicy.java
rackspace-autoscale/src/main/java/org/jclouds/rackspace/autoscale/v1/domain/Webhook.java
rackspace-cloudbigdata/src/main/java/org/jclouds/rackspace/cloudbigdata/v1/domain/Cluster.java
rackspace-cloudbigdata/src/main/java/org/jclouds/rackspace/cloudbigdata/v1/domain/CreateCluster.java
rackspace-cloudbigdata/src/main/java/org/jclouds/rackspace/cloudbigdata/v1/domain/CreateProfile.java
rackspace-cloudbigdata/src/main/java/org/jclouds/rackspace/cloudbigdata/v1/domain/Profile.java
rackspace-cloudbigdata/src/main/java/org/jclouds/rackspace/cloudbigdata/v1/domain/ProfileSSHKey.java