Commit Graph

131 Commits

Author SHA1 Message Date
Mathieu Gemard
e9bb96aaa1 [java/en] adding an exemple to ternary operator ?: (#2794)
We could think we always had to use = with ?:
2017-07-11 11:08:23 +02:00
Mathieu Gemard
4a359c303f [java/en] few changes (#2788) 2017-07-09 18:39:21 +02:00
Mathieu Gemard
fc58f4d120 [java/en] typo (#2763) 2017-06-18 14:26:36 +02:00
Kidhanis De Jesus
846abc4d9a [en/java] Modify the Animal abstract class (#2751)
* Fix word order in class documentation

* Change access level modifier of age variable

The comment inside eat() mentions that the variable is private.
Furthermore, there would be no error if the variable were used inside
Dog given the current access level.
2017-06-08 19:29:56 +02:00
Yerkebulan Tulibergenov
bb1d9c2a9e [Java/en]Fix small typo in Java English tutorial (#2743) 2017-05-31 09:58:51 +02:00
Felipe Cury
064cbde932 [java/en-us] Fix typo (#2708) 2017-05-18 12:40:42 +02:00
Adam
e48049b792 Replace tabs with 4 spaces in java 2017-03-23 11:58:16 -07:00
Sean Nam
2c2c6e7b15 Fixed indentation in the java file 2017-03-12 15:26:04 -07:00
Sean Nam
13663f3726 Merge branch 'master' of github.com:adambard/learnxinyminutes-docs
Pulling from master to work on Java[en] inputs
2017-02-09 17:11:10 -08:00
Andrew Gallasch
e800bf6f3d Remove duplicate int declarations (#2521)
Duplicate declarations break the build
2017-02-09 16:23:20 +01:00
Sean Nam
52ff8f41e4 Changed more indentation to 4 spaces 2017-02-08 23:39:49 -08:00
Sean Nam
3bfb74042f Changed indentation to 4 spaces 2017-02-08 23:36:49 -08:00
Sean Nam
f2a5bc8a91 Updated Java (en-us) to include Input using Scanner and System.in 2017-01-03 00:48:44 -08:00
Santiago
a98cc99ef7 Adding new Java 8 features (#2543)
* Added info on Java generics in Spanish.

* Adding new Java 8 features

* Removing the section on Generics for the ES-es version
2016-10-31 00:31:48 +01:00
Andrew Gallasch
1b59bd1097 Merge pull request #2522 from adambard/string-builder-loops
Add StringBuilder usage tip
2016-10-27 23:47:46 +10:30
Andrew Gallasch
e01c16e568 Update java.html.markdown 2016-10-27 23:38:44 +10:30
Andrew Gallasch
2040dfc83e Rename duplicate fooInt 2016-10-27 23:22:49 +10:30
Andrew Gallasch
bb504b97ca Add StringBuilder usage tip 2016-10-27 09:50:16 +10:30
Robert Rose
c8fa53ca1f Added try-with-resources to Java docs (#2438)
- Added documentation and sample code pertaining to try-with-resources to
  the Java documentation.
- Converted all Oracle and GitHub http links to https.
- Added my name to the contributors list since this is my second time
  contributing.
- Special shoutout to @enkidevs for teaching me about try-with-resources.
2016-10-10 12:43:12 +02:00
prestonpeterson
12c9b8daba Update java.html.markdown (#2346) 2016-08-27 10:03:37 +02:00
Jakukyo Friel
34456d988c java: In Java 8, interfaces can have default method. (#2337) 2016-08-22 00:06:57 +02:00
Nimit Shah
b8e496eba1 [Java/en] Adding a reference for treemap (#2300)
* Adding a reference for treemap

Adding reference for a treemap

* Removing my name from the contributors list

Removing my name from the contributors list as it requires a significant contribution to add my name to it.
2016-07-08 11:33:11 +02:00
ven
7812b99ff8 Manually merge #1780
fixes #1780
2016-06-28 18:06:06 +02:00
Harry
ebd74da99a Added main attributes of javadocs. (#1850) 2016-06-26 14:45:20 +02:00
Cameron Bernhardt
f18a60dff4 Update java.html.markdown 2016-05-01 18:44:19 +02:00
Justin Tervay
898dcda0f2 Fixed typo(s) in Java (EN) 2016-04-19 12:28:31 -04:00
Divay Prakash
1cdfe9086d fixed 2016-03-12 13:43:25 +05:30
Divay Prakash
3bb265de2e removed whitespaces, fixed content extending beyond 80 chars 2016-03-03 12:07:58 +05:30
Senthil Kumaran
b02cceda8b new boolean[] not really required when initializing.
Introducing this disrupts the flow a little bit to think, if specifying `new boolean[] ` required when intializing.
2016-02-15 10:29:42 -08:00
oscarb-se
2b2951d0e0 Fixed statement about many classes in one file
Fixed statement on line 441 to say that it is _not_ good practice to keep many classes in the same file.
2016-02-08 02:54:41 +01:00
Geoff Liu
2dd5ade402 Merge pull request #1698 from chaityabshah/master
[Java/EN] Fix Spacing Inconsistency
2015-12-18 17:32:27 -05:00
Andy
093c3e6562 Formatted enum comments 2015-10-31 20:52:07 +10:30
Adam Bard
924577b927 Merge pull request #1926 from hopesenddreams/patch-1
Fixed typo at BigInteger assignment
2015-10-31 18:21:01 +08:00
Adam Bard
aa32e08a05 Merge pull request #1929 from hopesenddreams/patch-2
Added BigDecimal float constructor caveat
2015-10-31 18:18:37 +08:00
Andy
231b60b7c0 Added missing new in HashSet instantiation 2015-10-31 20:05:05 +10:30
Andy
4593c65543 Improved int division comment and code 2015-10-31 19:39:26 +10:30
Andy
f7af2da9db Added BigDecimal float constructor caveat 2015-10-31 18:31:51 +10:30
Andy
34c7c6acb2 Fixed typo at BigInteger assignment 2015-10-31 16:57:22 +10:30
Raphael Nascimento
03ef96b2f1 [java/en] Enum Type 2015-10-29 12:46:59 -03:00
Raphael Nascimento
ef9331fa31 [java/en] Enum Type 2015-10-21 09:03:12 -03:00
Chaitya Shah
7c15eaefcd Fix Spacing Inconsistency
Fix spacing inconsistency in PennyFarthing Constructor
2015-10-20 11:45:58 -04:00
Levi Bostian
b1d3bacfa5 Merge pull request #1551 from rstiyer/typo-fix
Typo fixes and refactor description of Java Map
2015-10-18 12:06:28 -05:00
Chaitya Shah
552a885df5 Fix Spacing Inconsistency (Switch Statement) 2015-10-16 21:50:34 -04:00
Adam Bard
0e6d9f6fe9 Merge pull request #1580 from chaityabshah/master
Java/EN - Fix Spacing Inconsistency
2015-10-17 09:10:23 +08:00
Akshay Kalose
9f822a0a25 Add For Loop Label Breaking in Java 2015-10-16 21:03:46 -04:00
Chaitya Shah
79008d76c9 Fix Spacing Inconsistency 2015-10-16 20:49:00 -04:00
Rachel Stiyer
7a864ef86b Typo fixes and refactor description of Java Map 2015-10-15 20:33:35 -07:00
Raphael Nascimento
5a8a68988b [java/en] Enum Type
Outputs in line.
2015-10-15 15:59:22 -03:00
Raphael Nascimento
50a0bbf33f [java/en] Enum Type
Short overview about enum type.
2015-10-14 22:12:06 -03:00
Levi Bostian
adc92f538d Merge pull request #1484 from RobRoseKnows/master
Added BigInteger and BigDecimal explanations to Java tutorial
2015-10-12 23:29:27 -05:00