My favorites
▼
|
Sign in
microemu
MicroEmu is a pure Java implementation of Java ME.
Project Home
Downloads
Wiki
Issues
Source
Export to GitHub
READ-ONLY: This project has been
archived
. For more information see
this post
.
Search
Search within:
All issues
Open issues
New issues
Issues to verify
for
Advanced search
Search tips
Subscriptions
Issue
10
attachment: RecordEnumerationImpl.java.patch
(868 bytes)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Index: microemu-midp/src/main/java/org/microemu/util/RecordEnumerationImpl.java
===================================================================
--- microemu-midp/src/main/java/org/microemu/util/RecordEnumerationImpl.java (revision 2103)
+++ microemu-midp/src/main/java/org/microemu/util/RecordEnumerationImpl.java (working copy)
@@ -129,8 +129,8 @@
throw new InvalidRecordIDException();
}
+ currentRecord--;
byte[] result = ((EnumerationRecord) enumerationRecords .elementAt(currentRecord)).value;
- currentRecord--;
return result;
}
@@ -143,8 +143,8 @@
throw new InvalidRecordIDException();
}
+ currentRecord--;
int result = ((EnumerationRecord) enumerationRecords.elementAt(currentRecord)).recordId;
- currentRecord--;
return result;
}
Powered by
Google Project Hosting