Commit 7ad5df13 authored by lichenchong's avatar lichenchong
Browse files

Clear warnings during "mvn clean package" which generated by maven

plugin version missing, javadoc warning and deprecation method.
parent b48ff59d
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>com.seagate.kinetic</groupId>
@@ -17,6 +18,7 @@
		<plugins>
			<plugin>
				<artifactId>maven-clean-plugin</artifactId>
				<version>3.0.0</version>
				<executions>
					<execution>
						<id>clean-first</id>
@@ -77,6 +79,7 @@
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>build-helper-maven-plugin</artifactId>
				<version>1.12</version>
				<executions>
					<execution>
						<id>add-source</id>
@@ -96,6 +99,7 @@
			<!-- Override the default JAR configuration -->
			<plugin>
				<artifactId>maven-jar-plugin</artifactId>
				<version>2.4</version>
				<executions>
					<execution>
						<id>default-jar</id>
@@ -121,6 +125,11 @@
			</plugin>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.0</version>
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
				</configuration>
				<executions>
					<execution>
						<id>default-compile</id>
@@ -157,6 +166,7 @@
			</plugin>
			<plugin>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.15</version>
				<executions>
					<execution>
						<id>default-test</id>
+0 −12
Original line number Diff line number Diff line
@@ -31,30 +31,18 @@ public class BatchAbortedException extends KineticException {

    private int index = -1;

    /**
     * {@inheritDoc}
     */
    public BatchAbortedException() {
        ;
    }
    
    /**
     * {@inheritDoc}
     */
    public BatchAbortedException(String message) {
        super(message);
    }
    
    /**
     * {@inheritDoc}
     */
    public BatchAbortedException(Throwable cause) {
        super(cause);
    }

    /**
     * {@inheritDoc}
     */
    public BatchAbortedException(String message, Throwable cause) {
        super(message, cause);
    }
+1 −1
Original line number Diff line number Diff line
@@ -221,7 +221,7 @@ public class Hmac {
	 * @param bytes
	 * @param key
	 * @param expectedHmac
	 * @return
	 * @return true or false
	 * @throws HmacException
	 */
	public static boolean check(byte[] bytes, Key key, ByteString expectedHmac)
+1 −5
Original line number Diff line number Diff line
@@ -33,12 +33,8 @@ public class ProtocolMessageUtil {
	 * Translate a kinetic protocol message into a readable string format.
	 * <p>
	 * 
	 * @param message
	 * @param kineticMessage
	 *            the protocol message to be translated.
	 * 
	 * @param vLength
	 *            the attached value length.
	 * 
	 * @return a readable string format of a kinetic protocol message on the
	 *         wire.
	 */
+1 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ import org.testng.xml.XmlClass;
import org.testng.xml.XmlSuite;
import org.testng.xml.XmlTest;

import com.seagate.kinetic.adminAPI.KineticAdminTest;
import com.seagate.kinetic.advancedAPI.AdvancedAPITest;
import com.seagate.kinetic.asyncAPI.KineticAsyncAPITest;
import com.seagate.kinetic.basicAPI.KineticBasicAPITest;
Loading