Removed unuseful proto fields. Added a better pom.xml documentation. Removed an unuseful logging.

This commit is contained in:
Me Car 2016-01-20 14:39:11 +09:00
parent 379e61f98a
commit 46e560bd94
4 changed files with 4 additions and 9 deletions

View file

@ -16,7 +16,6 @@ public class TableRecorderImpl implements TableRecorder {
public void record(Table table) {
TableProto proto = table.toProto();
logger.info("Adding record:\n" + proto.toString());
TableRecordRepository.instance.add(new TableRecord(proto, proto.getEndTimeMs()));
}
}

View file

@ -56,7 +56,7 @@
</configuration>
</plugin>
<!-- http://vlkan.com/blog/post/2015/11/27/maven-protobuf/ -->
<!-- The plugins below are added by following http://vlkan.com/blog/post/2015/11/27/maven-protobuf/ -->
<!-- copy protoc binary into build directory -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@ -167,7 +167,7 @@
<finalName>mage</finalName>
<!-- http://vlkan.com/blog/post/2015/11/27/maven-protobuf/ -->
<!-- The extension below is added added by following http://vlkan.com/blog/post/2015/11/27/maven-protobuf/ -->
<extensions>
<!-- provides os.detected.classifier (i.e. linux-x86_64, osx-x86_64) property -->
<extension>
@ -178,7 +178,7 @@
</extensions>
</build>
<!-- http://vlkan.com/blog/post/2015/11/27/maven-protobuf/ -->
<!-- The properties below are added added by following http://vlkan.com/blog/post/2015/11/27/maven-protobuf/ -->
<properties>
<!-- protobuf paths -->
<protobuf.input.directory>${project.basedir}/src/main/proto</protobuf.input.directory>

View file

@ -233,8 +233,6 @@ public class TournamentPlayer {
return TourneyPlayerProto.newBuilder()
.setName(this.player.getName())
.setPlayerType(this.playerType)
.setStateInfo(this.stateInfo)
.setDisconnectInfo(this.disconnectInfo)
.setQuit(this.quitStatus)
.build();
}

View file

@ -46,9 +46,7 @@ message TourneyPlayerProto {
optional string name = 1;
optional string player_type = 2;
optional string replaced_player_name = 3;
optional string state_info = 4;
optional string disconnect_info = 5;
optional TourneyQuitStatus quit = 6;
optional TourneyQuitStatus quit = 4;
}
enum TourneyQuitStatus {