Unico Hommes pushed to branch bugfix/REPO-1446 at cms-community / 
hippo-repository


Commits:
cd83f8a3 by Unico Hommes at 2016-03-22T14:14:37+01:00
REPO-1446 copyright year and final keyword

- - - - -


1 changed file:

- 
engine/src/main/java/org/onehippo/repository/bootstrap/instructions/ContentResourceInstruction.java


Changes:

=====================================
engine/src/main/java/org/onehippo/repository/bootstrap/instructions/ContentResourceInstruction.java
=====================================
--- 
a/engine/src/main/java/org/onehippo/repository/bootstrap/instructions/ContentResourceInstruction.java
+++ 
b/engine/src/main/java/org/onehippo/repository/bootstrap/instructions/ContentResourceInstruction.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2014-2015 Hippo B.V. (http://www.onehippo.com)
+ * Copyright 2014-2016 Hippo B.V. (http://www.onehippo.com)
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -110,7 +110,7 @@ public class ContentResourceInstruction extends 
InitializeInstruction {
         }
         boolean pckg = contentResource.endsWith(".zip") || 
contentResource.endsWith(".jar");
 
-        String contentRoot = item.getContentRoot();
+        final String contentRoot = item.getContentRoot();
         if (contentRoot.equals(INIT_FOLDER_PATH) || 
contentRoot.startsWith(INIT_FOLDER_PATH + "/")) {
             throw new RepositoryException(String.format("Bootstrapping content 
to %s is not supported", INIT_FOLDER_PATH));
         }



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-repository/commit/cd83f8a37f4b885636d052dc993681c8e8880d15
_______________________________________________
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn

Reply via email to