mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-09-03 04:02:32 +00:00
rename result and sure in Guess to language and safe
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
This commit is contained in:
@@ -6,18 +6,18 @@ package tech.sourced.enry;
|
||||
*/
|
||||
public class Guess {
|
||||
/**
|
||||
* Result is the resultant language of the detection.
|
||||
* The resultant language of the detection.
|
||||
*/
|
||||
public String result;
|
||||
public String language;
|
||||
|
||||
/**
|
||||
* Sure indicates whether the enry was completely sure the language is
|
||||
* Indicates whether the enry was completely sure the language is
|
||||
* the correct one or it might not be.
|
||||
*/
|
||||
public boolean sure;
|
||||
public boolean safe;
|
||||
|
||||
public Guess(String result, boolean sure) {
|
||||
this.result = result;
|
||||
this.sure = sure;
|
||||
public Guess(String language, boolean safe) {
|
||||
this.language = language;
|
||||
this.safe = safe;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user