Declare potentially-static methods as static.
[Sone.git] / src / main / java / net / pterodactylus / sone / web / UploadImagePage.java
index e160c32..559a8ff 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - UploadImagePage.java - Copyright © 2011 David Roden
+ * Sone - UploadImagePage.java - Copyright © 2011–2012 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -145,7 +145,7 @@ public class UploadImagePage extends SoneTemplatePage {
         * @return The MIME type of the image, or “application/octet-stream” if the
         *         image type could not be detected
         */
-       private String getMimeType(byte[] imageData) {
+       private static String getMimeType(byte[] imageData) {
                ByteArrayInputStream imageDataInputStream = new ByteArrayInputStream(imageData);
                try {
                        ImageInputStream imageInputStream = ImageIO.createImageInputStream(imageDataInputStream);