[jboss-cvs] jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/util ...
Christian Bauer
christian at hibernate.org
Sun Mar 18 15:01:15 EDT 2007
User: cbauer
Date: 07/03/18 15:01:15
Modified: examples/wiki/src/main/org/jboss/seam/wiki/util Hash.java
Diff.java
Log:
Fixed file download servlet and attachment display
Revision Changes Path
1.2 +1 -1 jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/util/Hash.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Hash.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/util/Hash.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- Hash.java 7 Mar 2007 18:37:35 -0000 1.1
+++ Hash.java 18 Mar 2007 19:01:15 -0000 1.2
@@ -7,7 +7,7 @@
import org.jboss.seam.annotations.AutoCreate;
/**
- * Not reall save, should use a random salt, prepended later on the digest.
+ * Not really safe, should use a random salt, prepended later on the digest.
* Should also iterate the hashing a few thousand times to make brute force
* attacks more difficult. Basically, implement user password encryption with
* the same technique as on a typical Linux distribution.
1.2 +1 -1 jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/util/Diff.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Diff.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/util/Diff.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- Diff.java 7 Mar 2007 18:37:35 -0000 1.1
+++ Diff.java 18 Mar 2007 19:01:15 -0000 1.2
@@ -14,7 +14,7 @@
public abstract class Diff {
/**
- * Compares two strings, left and ride side, renders a new string with custom boundary markers
+ * Compares two strings, left and right side, renders a new string with custom boundary markers
* for deleted and added lines.
*
* @param x The "left" side of the comparison.
More information about the jboss-cvs-commits
mailing list