History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SM-56
Type: Improvement Improvement
Status: Open Open
Priority: Trivial Trivial
Assignee: Matt Raible
Reporter: Janning Vygen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Struts Menu

Properties are clumsy by escaping = and : where it is not needed

Created: 24/Aug/06 05:07 PM   Updated: 26/Jan/07 11:22 PM
Component/s: Displayers
Affects Version/s: 2.4.1
Fix Version/s: None


 Description  « Hide
All elements in property files use escape sequences for = and :. This is not needed:

http://java.sun.com/j2se/1.3/docs/api/java/util/Properties.html#load(java.io.InputStream)
"All remaining characters on the line become part of the associated element string."

this makes those files difficult to read.

Take a look at
./src/java/net/sf/navigator/displayer/DisplayerStrings.properties
Line 2:
dd.menu.top=<table width\="150" style\="background-color\:lightgrey" cellpadding\=1 cellspacing\=1><tr align\=left><td nowrap class\=normal><b>

Could be written as
dd.menu.top=<table width="150" style="background-color:lightgrey" cellpadding=1 cellspacing=1><tr align=left><td nowrap class=normal><b>



 All   Comments   Change History   FishEye      Sort Order:
There are no comments yet on this issue.