/*
 * Copyright 2014 Google. Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.k2crypto.storage;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * Annotation applied to all {@link StoreDriver} implementations.
 * 
 * @author darylseah@gmail.com (Daryl Seah)
 */
@Retention(RetentionPolicy.RUNTIME)
public @interface StoreDriverInfo {
  
  /**
   * Unique identifier of the driver, which users will specify in the scheme
   * portion of the URI address to a store.
   * <p>
   * Legal identifiers must match the regular expression
   * {@code [a-z][a-z0-9\+\-\.]*}, which is identical to the pattern specified
   * in <a href="http://tools.ietf.org/html/rfc3986#section-3.1"
   * target="_blank">RFC 3986, Section 3.1</a> for a URI scheme, except that
   * upper-case letters are excluded.
   */
  String id();
  
  /**
   * Descriptive name of the driver.
   */
  String name();
  
  /**
   * Version string of the driver.
   */
  String version();
  
  /**
   * Whether the driver can only read keys and not write them.
   */
  boolean readOnly() default false;
  
  /**
   * Whether the driver supports wrapped (encrypted) keys.
   */
  boolean wrapSupported() default false;
}

@@ -1616,30 +1616,16 @@
 adOnly()
- default false
 ;%0A  %0A  /
@@ -1721,22 +1721,8 @@
 ed()
- default false
 ;%0A%7D%0A

Remove defaults on driver attributes.