Permalink
Browse files

Make fields that are not meant to be modified final.

  • Loading branch information...
1 parent 5e374c8 commit 56968e53dfc691cf80f389155c016f0a854e1ced @radimk radimk committed Mar 25, 2013
@@ -15,7 +15,7 @@
public class AbstractOpenStackClient {
- protected String endpointURL;
+ protected final String endpointURL;
protected String token;
@@ -8,7 +8,7 @@
public class CreateContainer implements SwiftCommand<Response>{
- private String containerName;
+ private final String containerName;
public CreateContainer(String containerName) {
this.containerName = containerName;
@@ -7,9 +7,9 @@
public class CreateDirectory implements SwiftCommand<Void> {
- private String container;
+ private final String container;
- private String path;
+ private final String path;
public CreateDirectory(String container, String path) {
this.container = container;
@@ -8,7 +8,7 @@
public class DeleteContainer implements SwiftCommand<Response>{
- private String containerName;
+ private final String containerName;
public DeleteContainer(String containerName) {
this.containerName = containerName;
@@ -8,9 +8,9 @@
public class DeleteObject implements SwiftCommand<Response>{
- private String containerName;
+ private final String containerName;
- private String objectName;
+ private final String objectName;
public DeleteObject(String containerName, String objectName) {
this.containerName = containerName;
@@ -11,9 +11,9 @@
public class DownloadObject implements SwiftCommand<ObjectDownload> {
- private String containerName;
+ private final String containerName;
- private String objectName;
+ private final String objectName;
public DownloadObject(String containerName, String objectName) {
this.containerName = containerName;

0 comments on commit 56968e5

Please sign in to comment.