Skip to content

Commit 69badff

Browse files
committed
fixed a horrible bug that was keeping strings in
1 parent 2aedd4b commit 69badff

File tree

3 files changed

+4
-4
lines changed
  • Calendar/src/edu/wpi/cs/wpisuitetng/modules/cal/utils/cache
  • Core/WPISuite/src/edu/wpi/cs/wpisuitetng/database
  • Janeway/src/edu/wpi/cs/wpisuitetng/janeway

3 files changed

+4
-4
lines changed

Calendar/src/edu/wpi/cs/wpisuitetng/modules/cal/utils/cache/Cache.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,12 @@ public TimeOrderedList<V, K> timeOrderedCallIterator(K key)
136136
public void removeOldByMinute(int i)
137137
{
138138
MutableDateTime bef = new MutableDateTime(DateTime.now());
139-
bef.addMinutes(1);
139+
bef.addMinutes(-i);
140140
while(this.oldest!=null && this.oldest.isBefore(bef.toDateTime()))
141141
{
142142
this.oldest = this.oldest.getLater();
143143
bef = new MutableDateTime(DateTime.now());
144-
bef.addMinutes(1);
144+
bef.addMinutes(-i);
145145
}
146146
}
147147

Core/WPISuite/src/edu/wpi/cs/wpisuitetng/database/DataStore.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
public class DataStore implements Data {
3636

37-
static String WPI_TNG_DB ="WPISuite_Team4_YOCO_b13.db";
37+
static String WPI_TNG_DB ="WPISuite_Team4_YOCO_FINAL_SUBMISSION.db";
3838
private static DataStore myself = null;
3939
static ObjectContainer theDB;
4040
static ObjectServer server;

Janeway/src/edu/wpi/cs/wpisuitetng/janeway/Janeway.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public static void main(final String[] args) {
4848
// Set the look and feel to cross-platform so the UI looks
4949
// the same across operating systems
5050
try {
51-
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
51+
UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
5252
}
5353
catch (Exception e) {
5454
System.out.println("Error setting UI manager to cross-platform!");

0 commit comments

Comments
 (0)