src: Apply clang-format and extend use to Java code (#973)

This commit is contained in:
Louis St-Amour
2020-04-19 14:11:48 +02:00
committed by GitHub
parent a6e02cc249
commit 224c89182a
94 changed files with 1998 additions and 1773 deletions
@@ -1,7 +1,6 @@
package com.sourcetrail;
public enum SymbolKind
{ // these values need to be the same as SymbolKind in C++ code
public enum SymbolKind { // these values need to be the same as SymbolKind in C++ code
ANNOTATION(1),
BUILTIN_TYPE(2),
CLASS(3),
@@ -21,16 +20,16 @@ public enum SymbolKind
TYPE_PARAMETER(17),
UNION(18),
TYPE_MAX(19);
private final int m_value;
private SymbolKind(int value)
{
this.m_value = value;
}
public int getValue()
{
return m_value;
}
private final int m_value;
private SymbolKind(int value)
{
this.m_value = value;
}
public int getValue()
{
return m_value;
}
}