http://codereview.appspot.com/1196046/diff/1/2 File driver/src/java/org/openqa/selenium/webkit/WebKitSerializer.java (right): http://codereview.appspot.com/1196046/diff/1/2#newcode329 driver/src/java/org/openqa/selenium/webkit/WebKitSerializer.java:329: switch (stream.getInt()) { Using a Map to store the ...
13 years, 11 months ago
(2010-05-21 10:17:31 UTC)
#2
http://codereview.appspot.com/1196046/diff/1/2
File driver/src/java/org/openqa/selenium/webkit/WebKitSerializer.java (right):
http://codereview.appspot.com/1196046/diff/1/2#newcode329
driver/src/java/org/openqa/selenium/webkit/WebKitSerializer.java:329: switch
(stream.getInt()) {
Using a Map to store the mapping between integer and enum values will make this
code block more readable (instead of nested switch statements).
Issue 1196046: Serialization of HTML5 classes for HLWK.
Created 13 years, 11 months ago by sauta
Modified 13 years, 11 months ago
Reviewers: baran, viarheichyk, razmyslovich, Eran
Base URL: http://webkitdriver.googlecode.com/svn/trunk/
Comments: 1