From 314c3c39908d0c66ca4234924cdef3162dd7fc9b Mon Sep 17 00:00:00 2001 From: Slava Semushin Date: Wed, 22 Jun 2011 14:46:28 +0700 Subject: [PATCH 1/5] Fixed typo: s/dont/don't/. No functional changes. --- .../org/jtalks/jcommune/model/entity/User.java | 2 +- .../web/validation/MatchesValidatorTest.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jcommune/jcommune-model/src/main/java/org/jtalks/jcommune/model/entity/User.java b/jcommune/jcommune-model/src/main/java/org/jtalks/jcommune/model/entity/User.java index 796950a..0202949 100644 --- a/jcommune/jcommune-model/src/main/java/org/jtalks/jcommune/model/entity/User.java +++ b/jcommune/jcommune-model/src/main/java/org/jtalks/jcommune/model/entity/User.java @@ -136,7 +136,7 @@ public class User extends Persistent implements UserDetails { //methods from UserDetails inteface, indicating that //user can or can't authenticate. - //we dont need this functional now and users always enabled + //we don't need this functional now and users always enabled /** * {@inheritDoc} diff --git a/jcommune/jcommune-view/jcommune-web-controller/src/test/java/org/jtalks/jcommune/web/validation/MatchesValidatorTest.java b/jcommune/jcommune-view/jcommune-web-controller/src/test/java/org/jtalks/jcommune/web/validation/MatchesValidatorTest.java index c357dc9..bbeda28 100644 --- a/jcommune/jcommune-view/jcommune-web-controller/src/test/java/org/jtalks/jcommune/web/validation/MatchesValidatorTest.java +++ b/jcommune/jcommune-view/jcommune-web-controller/src/test/java/org/jtalks/jcommune/web/validation/MatchesValidatorTest.java @@ -34,7 +34,7 @@ public class MatchesValidatorTest { /** * Class for testing constraint. */ - @Matches(field = "value", verifyField = "value2", message = "Values dont match") + @Matches(field = "value", verifyField = "value2", message = "Values don't match") public class TestObject { String value; String value2; @@ -90,7 +90,7 @@ public class MatchesValidatorTest { validator.validate(new TestObject("value", "not")); Assert.assertEquals(constraintViolations.size(), 1, "Validation without errors"); - Assert.assertEquals(constraintViolations.iterator().next().getMessage(), "Values dont match"); + Assert.assertEquals(constraintViolations.iterator().next().getMessage(), "Values don't match"); } @Test -- 1.7.4.1