mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-09 04:46:06 +10:00
[#noissue] Remove setter of Token
This commit is contained in:
+2
-10
@@ -21,8 +21,8 @@ package com.navercorp.pinpoint.plugin.jdbc.oracle.parser;
|
||||
*/
|
||||
public class Token {
|
||||
|
||||
private String token;
|
||||
private int type;
|
||||
private final String token;
|
||||
private final int type;
|
||||
|
||||
public Token(String token, int type) {
|
||||
this.token = token;
|
||||
@@ -33,18 +33,10 @@ public class Token {
|
||||
return token;
|
||||
}
|
||||
|
||||
public void setToken(String token) {
|
||||
this.token = token;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
final StringBuilder sb = new StringBuilder();
|
||||
|
||||
Reference in New Issue
Block a user