@@ -50,16 +50,16 @@ public List<State> loadStates(String sessionId, String gameId) throws SessionNot
5050 if ( gameModel .loadGame (gameId ) == null ) {
5151 throw new GameNotFoundException (gameId );
5252 }
53- Map <String , AttributeValue > eav = new HashMap <String , AttributeValue >();
54- eav .put (":val1" , new AttributeValue ().withS (gameId ));
53+ Map <String , AttributeValue > attributeValues = new HashMap <String , AttributeValue >();
54+ attributeValues .put (":val1" , new AttributeValue ().withS (gameId ));
5555
56- Map <String , String > ean = new HashMap <String , String >();
57- ean .put ("#key1" , "game" );
56+ Map <String , String > attributeNames = new HashMap <String , String >();
57+ attributeNames .put ("#key1" , "game" );
5858
5959 DynamoDBQueryExpression <State > queryExpression = new DynamoDBQueryExpression <State >()
6060 .withIndexName ("game-index" )
61- .withExpressionAttributeValues (eav )
62- .withExpressionAttributeNames (ean )
61+ .withExpressionAttributeValues (attributeValues )
62+ .withExpressionAttributeNames (attributeNames )
6363 .withKeyConditionExpression ("#key1 = :val1" )
6464 .withConsistentRead (false );
6565
0 commit comments