logo       

roller/src/org/roller/presentation/bookmarks/actions FolderFormAction.java,: msg#00010

java.roller.cvs

Subject: roller/src/org/roller/presentation/bookmarks/actions FolderFormAction.java,1.23,1.24 ImportBookmarksFormAction.java,1.7,1.8

Update of /cvsroot/roller/roller/src/org/roller/presentation/bookmarks/actions
In directory
sc8-pr-cvs1:/tmp/cvs-serv5432/src/org/roller/presentation/bookmarks/actions

Modified Files:
FolderFormAction.java ImportBookmarksFormAction.java
Log Message:
Cleanups as recommended by Eclipse and PMD.

Index: FolderFormAction.java
===================================================================
RCS file:
/cvsroot/roller/roller/src/org/roller/presentation/bookmarks/actions/FolderFormAction.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** FolderFormAction.java 25 May 2003 13:14:55 -0000 1.23
--- FolderFormAction.java 3 Sep 2003 21:21:14 -0000 1.24
***************
*** 271,275 ****
{
FolderFormEx form = (FolderFormEx)actionForm;
- FolderData data = form.getData();
BookmarkManager mgr = rreq.getRoller().getBookmarkManager();

--- 271,274 ----
***************
*** 321,325 ****
{
FolderFormEx form = (FolderFormEx)actionForm;
- FolderData data = form.getData();
BookmarkManager mgr = rreq.getRoller().getBookmarkManager();

--- 320,323 ----
***************
*** 370,374 ****
{
FolderFormEx form = (FolderFormEx)actionForm;
- FolderData data = form.getData();
BookmarkManager mgr = rreq.getRoller().getBookmarkManager();

--- 368,371 ----

Index: ImportBookmarksFormAction.java
===================================================================
RCS file:
/cvsroot/roller/roller/src/org/roller/presentation/bookmarks/actions/ImportBookmarksFormAction.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** ImportBookmarksFormAction.java 25 May 2003 13:11:07 -0000 1.7
--- ImportBookmarksFormAction.java 3 Sep 2003 21:21:14 -0000 1.8
***************
*** 63,69 ****
}

//retrieve the file representation
FormFile file = theForm.getBookmarksFile();
!
//retrieve the file name
String fileName= file.getFileName();
--- 63,71 ----
}

+ boolean writeFile = false; //theForm.getWriteFile();
+
//retrieve the file representation
FormFile file = theForm.getBookmarksFile();
! /*
//retrieve the file name
String fileName= file.getFileName();
***************
*** 72,80 ****
String contentType = file.getContentType();

- boolean writeFile = false; //theForm.getWriteFile();
-
//retrieve the file size
String size = (file.getFileSize() + " bytes");
!
String data = null;

--- 74,80 ----
String contentType = file.getContentType();

//retrieve the file size
String size = (file.getFileSize() + " bytes");
! */
String data = null;





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise