mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-15 21:36:20 +00:00
fix a build error in JDK 1.2.
This commit is contained in:
parent
e1ed4e08e3
commit
fe199405d1
@ -54,11 +54,11 @@ public class FilePasswordCallback implements PasswordCallback {
|
||||
/**
|
||||
*/
|
||||
public Password getPasswordFirstAttempt(PasswordCallbackInfo info)
|
||||
throws GiveUpException
|
||||
throws PasswordCallback.GiveUpException
|
||||
{
|
||||
String pw = passwords.getProperty(info.getName());
|
||||
if( pw == null ) {
|
||||
throw new GiveUpException();
|
||||
throw new PasswordCallback.GiveUpException();
|
||||
} else {
|
||||
System.out.println("***FilePasswordCallback returns " + pw);
|
||||
return new Password(pw.toCharArray());
|
||||
@ -68,8 +68,8 @@ public class FilePasswordCallback implements PasswordCallback {
|
||||
/**
|
||||
*/
|
||||
public Password getPasswordAgain(PasswordCallbackInfo info)
|
||||
throws GiveUpException
|
||||
throws PasswordCallback.GiveUpException
|
||||
{
|
||||
throw new GiveUpException();
|
||||
throw new PasswordCallback.GiveUpException();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user