|
@ -365,7 +365,7 @@ public class Games { |
|
|
String gameName = resultSet.getString("Game_Name"); |
|
|
String gameName = resultSet.getString("Game_Name"); |
|
|
String gameConsole = resultSet.getString("Game_Console"); |
|
|
String gameConsole = resultSet.getString("Game_Console"); |
|
|
|
|
|
|
|
|
if (gameConsole.length() > 11) { |
|
|
|
|
|
|
|
|
if (gameConsole.length() >= 11) { |
|
|
if (gameConsole.substring(0, 11).equals("PlayStation")) { |
|
|
if (gameConsole.substring(0, 11).equals("PlayStation")) { |
|
|
result += gameName + ", "; |
|
|
result += gameName + ", "; |
|
|
} |
|
|
} |
|
@ -397,7 +397,7 @@ public class Games { |
|
|
String gameName = resultSet.getString("Game_Name"); |
|
|
String gameName = resultSet.getString("Game_Name"); |
|
|
String gameConsole = resultSet.getString("Game_Console"); |
|
|
String gameConsole = resultSet.getString("Game_Console"); |
|
|
|
|
|
|
|
|
if (gameConsole.length() > 8) { |
|
|
|
|
|
|
|
|
if (gameConsole.length() >= 8) { |
|
|
if (gameConsole.substring(0, 8).equals("Nintendo")) { |
|
|
if (gameConsole.substring(0, 8).equals("Nintendo")) { |
|
|
result += gameName + ", "; |
|
|
result += gameName + ", "; |
|
|
} |
|
|
} |
|
|