Updated copyright. Compatibility fixes for latest svjatoslav-commons.
[meviz.git] / src / main / java / eu / svjatoslav / meviz / htmlindexer / layouts / MixedLayout.java
index ebc5ca2..e20f875 100755 (executable)
@@ -1,6 +1,6 @@
 /*
  * Meviz - Various tools collection to work with multimedia.
- * Copyright (C) 2012, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
+ * Copyright (C) 2012 -- 2017, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of version 2 of the GNU General Public License
@@ -19,22 +19,21 @@ import eu.svjatoslav.meviz.htmlindexer.metadata.fileTypes.Picture;
 import org.apache.log4j.Logger;
 
 import java.io.IOException;
-import java.io.UnsupportedEncodingException;
 import java.util.List;
 
 public class MixedLayout implements Layout {
 
     public static final String encoding = "UTF-8";
 
-    Logger logger = Logger.getLogger(MixedLayout.class);
+    private final Logger logger = Logger.getLogger(MixedLayout.class);
 
-    StringBuffer dirHtml = new StringBuffer();
+    private StringBuffer dirHtml = new StringBuffer();
 
-    StringBuffer filesHtml = new StringBuffer();
+    private StringBuffer filesHtml = new StringBuffer();
 
-    String galleryTitle;
+    private String galleryTitle;
 
-    List<String> path;
+    private List<String> path;
 
     private AbstractIndexer indexer;
 
@@ -132,8 +131,7 @@ public class MixedLayout implements Layout {
      */
     @Override
     public void enlistOgv(final AbstractFile abstractFile,
-                          final DirectoryMetadata parentDirectoryMetadata)
-            throws UnsupportedEncodingException {
+                          final DirectoryMetadata parentDirectoryMetadata) {
 
         final GeneralFile file = (GeneralFile) abstractFile;