Merge branch 'mavenize' into next
[jSite.git] / src / main / java / de / todesbaum / jsite / application / Project.java
index 33d8447..36fff55 100644 (file)
@@ -289,7 +289,7 @@ public class Project implements Comparable<Project> {
         *            The URI to shorten
         * @return The shortened URI
         */
-       private String shortenURI(String uri) {
+       private static String shortenURI(String uri) {
                String shortUri = uri;
                if (shortUri.startsWith("freenet:")) {
                        shortUri = shortUri.substring("freenet:".length());
@@ -386,6 +386,7 @@ public class Project implements Comparable<Project> {
         * <p>
         * Projects are compared by their name only.
         */
+       @Override
        public int compareTo(Project project) {
                return name.compareToIgnoreCase(project.name);
        }