7064075: Security libraries don't build with javac -Xlint:all,-deprecation -Werror

Reviewed-by: xuelei, mullan
This commit is contained in:
Alexandre Boulgakov 2011-08-15 11:48:20 -07:00 committed by Jonathan Gibbons
parent 38afb5138c
commit 598c79031d
238 changed files with 1950 additions and 2081 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -217,7 +217,7 @@ implements CertAttrSet<String> {
/**
* Get the attribute value.
*/
public Object get(String name) throws IOException {
public Boolean get(String name) throws IOException {
if (name.equalsIgnoreCase(DIGITAL_SIGNATURE)) {
return Boolean.valueOf(isSet(0));
} else if (name.equalsIgnoreCase(NON_REPUDIATION)) {