Skip to content

Commit ebc3228

Browse files
committed
Remove some unecessary stuff in the WifiEntry class
1 parent 118fde9 commit ebc3228

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

app/src/main/java/tk/superl2/xwifi/WifiEntry.kt

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,6 @@ class WifiEntry : Parcelable {
3030
initVars("", "", false, "")
3131
}
3232

33-
constructor(title: String, password: String) {
34-
initVars(title, password, false, "")
35-
}
36-
37-
constructor(title: String, password: String, connectedInd: Boolean) {
38-
initVars(title, password, connectedInd, "")
39-
}
40-
4133
private fun initVars(title: String, password: String, connectedInd: Boolean, tag: String) {
4234
this.title = title
4335
this.password = password
@@ -87,4 +79,4 @@ class WifiEntry : Parcelable {
8779
}
8880
}
8981

90-
internal class GetEAPTypeException(override var message: String = "The QR Code library does not support EAP. There's no reason this function should be called on an EAP enum."): Exception(message)
82+
internal class GetEAPTypeException(message: String = "The QR Code library does not support EAP. There's no reason this function should be called on an EAP enum."): Exception(message)

0 commit comments

Comments
 (0)