make instance variables final where possible

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753111 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Javen O'Neal 2016-07-17 20:24:14 +00:00
parent cf6d3489e0
commit bdf3f30418

View File

@ -69,10 +69,10 @@ public final class HSLFSlideShow implements SlideShow<HSLFShape,HSLFTextParagrap
enum LoadSavePhase { enum LoadSavePhase {
INIT, LOADED INIT, LOADED
} }
private static ThreadLocal<LoadSavePhase> loadSavePhase = new ThreadLocal<LoadSavePhase>(); private static final ThreadLocal<LoadSavePhase> loadSavePhase = new ThreadLocal<LoadSavePhase>();
// What we're based on // What we're based on
private HSLFSlideShowImpl _hslfSlideShow; private final HSLFSlideShowImpl _hslfSlideShow;
// Pointers to the most recent versions of the core records // Pointers to the most recent versions of the core records
// (Document, Notes, Slide etc) // (Document, Notes, Slide etc)
@ -92,7 +92,7 @@ public final class HSLFSlideShow implements SlideShow<HSLFShape,HSLFTextParagrap
private FontCollection _fonts; private FontCollection _fonts;
// For logging // For logging
private POILogger logger = POILogFactory.getLogger(this.getClass()); private static final POILogger logger = POILogFactory.getLogger(HSLFSlideShow.class);
/** /**