Drop unused formatLanguage property from patch table

This is no longer used once we moved to server side formatting of
the syntax highlights.

Change-Id: I182b72e2448ef354b7583f5de887880ac9d7aeba
Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce
2010-02-13 10:22:51 -08:00
parent f33c39a87e
commit 6f7f748231

View File

@@ -59,7 +59,6 @@ public abstract class AbstractPatchContentTable extends NavigationTable<Object>
protected PatchSet.Id idSideA;
protected PatchSet.Id idSideB;
protected boolean onlyOneHunk;
protected String formatLanguage;
private final KeyCommandSet keysComment;
private HandlerRegistration regComment;
@@ -145,7 +144,6 @@ public abstract class AbstractPatchContentTable extends NavigationTable<Object>
final String pathName = patchKey.get();
int ext = pathName.lastIndexOf('.');
formatLanguage = ext > 0 ? pathName.substring(ext + 1).toLowerCase() : null;
render(s);
}