changeset 115:41d2109cecab

Fix grammar.
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Sun, 05 Mar 2017 21:48:03 +0200
parents 7980a43b4240
children f8d45fa94539
files 09363304-ddc3-11e6-aa07-485b39c42d0f/index.rst 4b468ff0-df21-11e6-9c0f-485b39c42d0f/index.rst
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/09363304-ddc3-11e6-aa07-485b39c42d0f/index.rst	Sat Mar 04 23:07:45 2017 +0200
+++ b/09363304-ddc3-11e6-aa07-485b39c42d0f/index.rst	Sun Mar 05 21:48:03 2017 +0200
@@ -41,7 +41,7 @@
 
 which is based on moving across continuous series of unique characters from the beginning of string.
 
-Compare with solution with
+Compare with solution from
 http://blog.gainlo.co/index.php/2016/10/07/facebook-interview-longest-substring-without-repeating-characters/ ::
 
   def solution(s):
--- a/4b468ff0-df21-11e6-9c0f-485b39c42d0f/index.rst	Sat Mar 04 23:07:45 2017 +0200
+++ b/4b468ff0-df21-11e6-9c0f-485b39c42d0f/index.rst	Sun Mar 05 21:48:03 2017 +0200
@@ -66,8 +66,8 @@
 Why calling abstract methods is dangerous in constructor
 ========================================================
 
-Subclass constructor before any instruction call superclass constructor. Abstract methods may
-depends of fields that is not fully populated by subclass constructor.
+Subclass constructor calls superclass constructor before any other instructions. Abstract methods
+may depends of fields that is not fully populated by subclass constructor.
 
 In following example ``cache`` always initialized by ``0`` during ``Sub(int value)`` constructor
 call::
@@ -105,11 +105,11 @@
 
 ``hashCode()`` has contract that if::
 
-  Ob1.equals(Ob2) == True
+  ob1.equals(ob2) == true
 
 then::
 
-  Ob1.hashCode() == Ob2.hashCode()
+  ob1.hashCode() == ob2.hashCode()
 
-Changing default behavior of ``equals()`` you may violate with contract.
+Changing default behavior of ``equals()`` you may violate this contract.