Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 642ce1c

Browse filesBrowse files
committed
Use class instead of bean.
A class should only be called 'bean', if: * all properties are private (use getters/setters) * it implements the Serializable interface * it has a public default constructor See: http://stackoverflow.com/questions/3295496/what-is-a-javabean-exactly
1 parent 6dd0e09 commit 642ce1c
Copy full SHA for 642ce1c

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ String converted = converter.convert("Java");
167167
System.out.println(converted); // "J"
168168
```
169169

170-
Let's see how the `::` keyword works for constructors. First we define an example bean with different constructors:
170+
Let's see how the `::` keyword works for constructors. First we define an example class with different constructors:
171171

172172
```java
173173
class Person {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.