You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by jw...@apache.org on 2016/04/28 02:06:19 UTC
[4/4] groovy git commit: Fixed a typo in groovy Documentation (closes
#323)
Fixed a typo in groovy Documentation (closes #323)
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/9516fdcc
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/9516fdcc
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/9516fdcc
Branch: refs/heads/master
Commit: 9516fdcc6fe6dc813f324c467e846131021f7e78
Parents: d5d56e8
Author: Axel <ax...@users.noreply.github.com>
Authored: Wed Apr 27 17:06:00 2016 -0300
Committer: John Wagenleitner <jw...@apache.org>
Committed: Wed Apr 27 16:53:15 2016 -0700
----------------------------------------------------------------------
src/spec/doc/core-differences-java.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/9516fdcc/src/spec/doc/core-differences-java.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-differences-java.adoc b/src/spec/doc/core-differences-java.adoc
index c08042d..9e66163 100644
--- a/src/spec/doc/core-differences-java.adoc
+++ b/src/spec/doc/core-differences-java.adoc
@@ -276,7 +276,7 @@ include::{projectdir}/src/spec/test/PrimitiveTest.groovy[tags=widening_vs_boxing
== Behaviour of `==`
In Java `==` means equality of primitive types or identity for objects. In
-Groovy `==` translates to `a.compareTo(b)==0`, iff they are `Comparable`, and
+Groovy `==` translates to `a.compareTo(b)==0`, if they are `Comparable`, and
`a.equals(b)` otherwise. To check for identity, there is `is`. E.g.
`a.is(b)`.