I was going through few Java files. Might be you can consider below suggestions.
- Backend.java
- Final static variable command can be renamed to COMMAND
- Few variables like gson can be declared final I suppose as it is initialized in the constructor
- How about using an if instead of switch as it has only one case (in postJson())
- Activator.java
- Do we need to write default constructor?
- POCDocument.java
- How about changing private GUID to guid as its a not a constant?
- POCDocumentPartitioner.java
- How about changing types to TYPES as it is final static?
- POCDocumentProvider.java
- How about changing mode to MODE as it is final static?
- POCTokenScanner.java
- Do we really need the default constructor?
I am not sure if code formatter is being used. If not will request to add a standard code formatter.
I was going through few Java files. Might be you can consider below suggestions.
I am not sure if code formatter is being used. If not will request to add a standard code formatter.