Poprawienie zmiennych w klasie Note na czytelniejsze
This commit is contained in:
parent
1b159ee879
commit
771ab13a2a
@ -1,24 +1,24 @@
|
|||||||
package com.example.notatkon.note;
|
package com.example.notatkon.note;
|
||||||
|
|
||||||
public class Note {
|
public class Note {
|
||||||
private String Title;
|
private String noteTitle;
|
||||||
private String Content;
|
private String noteContent;
|
||||||
|
|
||||||
// automatyczne dane do tablicy
|
// automatyczne dane do tablicy
|
||||||
private static String[] Titles = { "Title1" };
|
private static String[] NoteTitles = { "Title1" };
|
||||||
|
|
||||||
private static String[] Contents = { "Content1" };
|
private static String[] NoteContents = { "Content1" };
|
||||||
|
|
||||||
//konstruktor
|
//konstruktor
|
||||||
public Note() {
|
public Note() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getTitle() {
|
public String getNoteTitle() {
|
||||||
return Title;
|
return noteTitle;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getContent() {
|
public String getNoteContent() {
|
||||||
return Content;
|
return noteContent;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user