summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/cms/logging/LogEntry.java
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-03-14 14:36:25 -0500
committerEndi Sukma Dewata <edewata@redhat.com>2012-03-23 13:49:50 -0500
commit154c2954b7986299840746e98ae7a23199cc35b9 (patch)
tree42667e71e835e6f5defe6548f1c05e8957979c13 /pki/base/common/src/com/netscape/cms/logging/LogEntry.java
parent9513af54d56955734a58561a6753b0aafc83c162 (diff)
downloadpki-154c2954b7986299840746e98ae7a23199cc35b9.tar.gz
pki-154c2954b7986299840746e98ae7a23199cc35b9.tar.xz
pki-154c2954b7986299840746e98ae7a23199cc35b9.zip
Removed unused variables (part 2).
This patch brings down the warnings from 1943 to 1221. Ticket #103
Diffstat (limited to 'pki/base/common/src/com/netscape/cms/logging/LogEntry.java')
-rw-r--r--pki/base/common/src/com/netscape/cms/logging/LogEntry.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/pki/base/common/src/com/netscape/cms/logging/LogEntry.java b/pki/base/common/src/com/netscape/cms/logging/LogEntry.java
index 759b09379..d91bd7406 100644
--- a/pki/base/common/src/com/netscape/cms/logging/LogEntry.java
+++ b/pki/base/common/src/com/netscape/cms/logging/LogEntry.java
@@ -35,7 +35,7 @@ public class LogEntry {
private String mDetail;
private String mDate;
private String mTime;
- private Vector mRow;
+ private Vector<String> mRow;
private final String DATE_PATTERN = "dd/MMM/yyyy:HH:mm:ss z";
@@ -54,7 +54,7 @@ public class LogEntry {
* return a vector of the segments of the entry
*/
- public Vector parse() throws ParseException {
+ public Vector<String> parse() throws ParseException {
int x = mEntry.indexOf("[");
if (x == -1)
@@ -86,7 +86,7 @@ public class LogEntry {
mDetail = temp.substring(x + 2);
- Vector row = new Vector();
+ Vector<String> row = new Vector<String>();
row.addElement(mSource);
row.addElement(mLevel);
@@ -119,7 +119,7 @@ public class LogEntry {
return mTime;
}
- public Vector getRow() {
+ public Vector<String> getRow() {
return mRow;
}