Return-Path: X-Original-To: apmail-pig-commits-archive@www.apache.org Delivered-To: apmail-pig-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 65C97E75A for ; Mon, 10 Dec 2012 06:19:31 +0000 (UTC) Received: (qmail 11484 invoked by uid 500); 10 Dec 2012 06:19:31 -0000 Delivered-To: apmail-pig-commits-archive@pig.apache.org Received: (qmail 11326 invoked by uid 500); 10 Dec 2012 06:19:27 -0000 Mailing-List: contact commits-help@pig.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pig.apache.org Delivered-To: mailing list commits@pig.apache.org Received: (qmail 11303 invoked by uid 99); 10 Dec 2012 06:19:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Dec 2012 06:19:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Dec 2012 06:19:22 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 742A0238890B; Mon, 10 Dec 2012 06:19:00 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1419207 - in /pig/trunk: ./ src/org/apache/pig/ src/org/apache/pig/backend/hadoop/executionengine/physicalLayer/relationalOperators/ src/org/apache/pig/builtin/mock/ src/org/apache/pig/data/ src/org/apache/pig/impl/ src/org/apache/pig/impl... Date: Mon, 10 Dec 2012 06:18:58 -0000 To: commits@pig.apache.org From: cheolsoo@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121210061900.742A0238890B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: cheolsoo Date: Mon Dec 10 06:18:56 2012 New Revision: 1419207 URL: http://svn.apache.org/viewvc?rev=1419207&view=rev Log: PIG-3033: test-patch failed with javadoc warnings (fang fang chen via cheolsoo) Modified: pig/trunk/CHANGES.txt pig/trunk/src/org/apache/pig/ExecType.java pig/trunk/src/org/apache/pig/StoreFuncWrapper.java pig/trunk/src/org/apache/pig/TerminatingAccumulator.java pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/physicalLayer/relationalOperators/PORank.java pig/trunk/src/org/apache/pig/builtin/mock/Storage.java pig/trunk/src/org/apache/pig/data/SchemaTuple.java pig/trunk/src/org/apache/pig/data/SchemaTupleClassGenerator.java pig/trunk/src/org/apache/pig/data/SchemaTupleFactory.java pig/trunk/src/org/apache/pig/impl/PigContext.java pig/trunk/src/org/apache/pig/impl/util/UDFContext.java pig/trunk/src/org/apache/pig/scripting/groovy/GroovyUtils.java pig/trunk/src/org/apache/pig/scripting/jruby/PigJrubyLibrary.java pig/trunk/src/org/apache/pig/scripting/jruby/RubyDataBag.java pig/trunk/src/org/apache/pig/scripting/jruby/RubySchema.java pig/trunk/src/org/apache/pig/tools/pigstats/PigStats.java Modified: pig/trunk/CHANGES.txt URL: http://svn.apache.org/viewvc/pig/trunk/CHANGES.txt?rev=1419207&r1=1419206&r2=1419207&view=diff ============================================================================== --- pig/trunk/CHANGES.txt (original) +++ pig/trunk/CHANGES.txt Mon Dec 10 06:18:56 2012 @@ -386,6 +386,8 @@ OPTIMIZATIONS BUG FIXES +PIG-3033: test-patch failed with javadoc warnings (fang fang chen via cheolsoo) + PIG-3058: Upgrade junit to at least 4.8 (fang fang chen via cheolsoo) PIG-2978: TestLoadStoreFuncLifeCycle fails with hadoop-2.0.x (cheolsoo) Modified: pig/trunk/src/org/apache/pig/ExecType.java URL: http://svn.apache.org/viewvc/pig/trunk/src/org/apache/pig/ExecType.java?rev=1419207&r1=1419206&r2=1419207&view=diff ============================================================================== --- pig/trunk/src/org/apache/pig/ExecType.java (original) +++ pig/trunk/src/org/apache/pig/ExecType.java Mon Dec 10 06:18:56 2012 @@ -35,7 +35,7 @@ public enum ExecType implements Serializ /** * Given a string, determine the exec type. - * @param str accepted values are 'local', 'mapreduce', and 'mapred' + * @param execString accepted values are 'local', 'mapreduce', and 'mapred' * @return exectype as ExecType */ public static ExecType fromString(String execString) throws PigException { Modified: pig/trunk/src/org/apache/pig/StoreFuncWrapper.java URL: http://svn.apache.org/viewvc/pig/trunk/src/org/apache/pig/StoreFuncWrapper.java?rev=1419207&r1=1419206&r2=1419207&view=diff ============================================================================== --- pig/trunk/src/org/apache/pig/StoreFuncWrapper.java (original) +++ pig/trunk/src/org/apache/pig/StoreFuncWrapper.java Mon Dec 10 06:18:56 2012 @@ -106,7 +106,7 @@ public class StoreFuncWrapper implements * Returns a method in the call stack at the given depth. Depth 0 will return the method that * called this getMethodName, depth 1 the method that called it, etc... * @param depth - * @return + * @return method name as String */ protected String getMethodName(final int depth) { final StackTraceElement[] ste = Thread.currentThread().getStackTrace(); Modified: pig/trunk/src/org/apache/pig/TerminatingAccumulator.java URL: http://svn.apache.org/viewvc/pig/trunk/src/org/apache/pig/TerminatingAccumulator.java?rev=1419207&r1=1419206&r2=1419207&view=diff ============================================================================== --- pig/trunk/src/org/apache/pig/TerminatingAccumulator.java (original) +++ pig/trunk/src/org/apache/pig/TerminatingAccumulator.java Mon Dec 10 06:18:56 2012 @@ -21,7 +21,7 @@ package org.apache.pig; * This is an interface which, if implemented, allows an Accumulator * function to signal that it can terminate early. Certain classes of * UDF to do not need access to an entire set of data in order to - * finish processing. A model example is {@link IsEmpty}. IsEmpty + * finish processing. A model example is {org.apache.pig.builtin.IsEmpty}. IsEmpty * can be Accumulative as if it receives even one line, it knows that * it is not empty. Another example might be a UDF which does streaming * analysis, and once a given stream matches a criteria, can terminate Modified: pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/physicalLayer/relationalOperators/PORank.java URL: http://svn.apache.org/viewvc/pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/physicalLayer/relationalOperators/PORank.java?rev=1419207&r1=1419206&r2=1419207&view=diff ============================================================================== --- pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/physicalLayer/relationalOperators/PORank.java (original) +++ pig/trunk/src/org/apache/pig/backend/hadoop/executionengine/physicalLayer/relationalOperators/PORank.java Mon Dec 10 06:18:56 2012 @@ -142,7 +142,7 @@ public class PORank extends PhysicalOper * Here is read the task identifier in order to get the corresponding cumulative sum, * and the local counter at the tuple. These values are summed and prepended to the tuple. * @param input processed by POCounter - * @result tuple with the prepend rank value. + * @return input as Result. The input.result tuple owns the prepend rank value **/ public Result addRank(Result input) throws ExecException { int i = 1; Modified: pig/trunk/src/org/apache/pig/builtin/mock/Storage.java URL: http://svn.apache.org/viewvc/pig/trunk/src/org/apache/pig/builtin/mock/Storage.java?rev=1419207&r1=1419206&r2=1419207&view=diff ============================================================================== --- pig/trunk/src/org/apache/pig/builtin/mock/Storage.java (original) +++ pig/trunk/src/org/apache/pig/builtin/mock/Storage.java Mon Dec 10 06:18:56 2012 @@ -128,7 +128,7 @@ public class Storage extends LoadFunc im /** * reset the store and get the Data object to access it * @param pigServer - * @return + * @return Data */ public static Data resetData(PigServer pigServer) { return resetData(pigServer.getPigContext()); @@ -137,7 +137,7 @@ public class Storage extends LoadFunc im /** * reset the store and get the Data object to access it * @param context - * @return + * @return data as Data */ public static Data resetData(PigContext context) { Properties properties = context.getProperties(); Modified: pig/trunk/src/org/apache/pig/data/SchemaTuple.java URL: http://svn.apache.org/viewvc/pig/trunk/src/org/apache/pig/data/SchemaTuple.java?rev=1419207&r1=1419206&r2=1419207&view=diff ============================================================================== --- pig/trunk/src/org/apache/pig/data/SchemaTuple.java (original) +++ pig/trunk/src/org/apache/pig/data/SchemaTuple.java Mon Dec 10 06:18:56 2012 @@ -79,7 +79,7 @@ public abstract class SchemaTuple T */ public static T instantiateObjectFromParams(Configuration conf, String classParamKey, Modified: pig/trunk/src/org/apache/pig/impl/util/UDFContext.java URL: http://svn.apache.org/viewvc/pig/trunk/src/org/apache/pig/impl/util/UDFContext.java?rev=1419207&r1=1419206&r2=1419207&view=diff ============================================================================== --- pig/trunk/src/org/apache/pig/impl/util/UDFContext.java (original) +++ pig/trunk/src/org/apache/pig/impl/util/UDFContext.java Mon Dec 10 06:18:56 2012 @@ -208,7 +208,7 @@ public class UDFContext { /** * Convenience method for UDF code to check where it runs (see PIG-2576) - * @return + * @return boolean type value */ public boolean isFrontend() { // mapred.task.id is for MR1 Modified: pig/trunk/src/org/apache/pig/scripting/groovy/GroovyUtils.java URL: http://svn.apache.org/viewvc/pig/trunk/src/org/apache/pig/scripting/groovy/GroovyUtils.java?rev=1419207&r1=1419206&r2=1419207&view=diff ============================================================================== --- pig/trunk/src/org/apache/pig/scripting/groovy/GroovyUtils.java (original) +++ pig/trunk/src/org/apache/pig/scripting/groovy/GroovyUtils.java Mon Dec 10 06:18:56 2012 @@ -209,7 +209,7 @@ public class GroovyUtils { * anything else raises an exception * * @param pigObject - * @return + * @return Object * @throws ExecException */ public static Object pigToGroovy(Object pigObject) throws ExecException { Modified: pig/trunk/src/org/apache/pig/scripting/jruby/PigJrubyLibrary.java URL: http://svn.apache.org/viewvc/pig/trunk/src/org/apache/pig/scripting/jruby/PigJrubyLibrary.java?rev=1419207&r1=1419206&r2=1419207&view=diff ============================================================================== --- pig/trunk/src/org/apache/pig/scripting/jruby/PigJrubyLibrary.java (original) +++ pig/trunk/src/org/apache/pig/scripting/jruby/PigJrubyLibrary.java Mon Dec 10 06:18:56 2012 @@ -307,8 +307,7 @@ public class PigJrubyLibrary implements * @param ruby the Ruby runtime to create objects in * @param object object to convert * @return analogous Ruby type - * @throws ExecException object contained an object that - * {@link #pigToRuby(Object)} could not convert + * @throws ExecException object contained an object that could not convert */ public static RubyArray pigToRuby(Ruby ruby, Tuple object) throws ExecException{ RubyArray rubyArray = ruby.newArray(); Modified: pig/trunk/src/org/apache/pig/scripting/jruby/RubyDataBag.java URL: http://svn.apache.org/viewvc/pig/trunk/src/org/apache/pig/scripting/jruby/RubyDataBag.java?rev=1419207&r1=1419206&r2=1419207&view=diff ============================================================================== --- pig/trunk/src/org/apache/pig/scripting/jruby/RubyDataBag.java (original) +++ pig/trunk/src/org/apache/pig/scripting/jruby/RubyDataBag.java Mon Dec 10 06:18:56 2012 @@ -133,7 +133,7 @@ public class RubyDataBag extends RubyObj * * @param ruby an instance of the ruby runtime * @param rc an instance of the class object with meatadata - * @Param db a DataBag to encapsulate + * @param db a DataBag to encapsulate */ protected RubyDataBag(final Ruby ruby, RubyClass rc, DataBag db) { super(ruby,rc); @@ -224,7 +224,6 @@ public class RubyDataBag extends RubyObj contents will be copied; a RubyArray, which will be treated as a Tuple, or another object which will be converted over per {@link PigJrubyLibrary#rubyToPig}. - * @return true if it the encapsulated is sorted, false otherwise */ @JRubyMethod(required = 1, rest = true) public void add(ThreadContext context, IRubyObject[] args) throws ExecException { Modified: pig/trunk/src/org/apache/pig/scripting/jruby/RubySchema.java URL: http://svn.apache.org/viewvc/pig/trunk/src/org/apache/pig/scripting/jruby/RubySchema.java?rev=1419207&r1=1419206&r2=1419207&view=diff ============================================================================== --- pig/trunk/src/org/apache/pig/scripting/jruby/RubySchema.java (original) +++ pig/trunk/src/org/apache/pig/scripting/jruby/RubySchema.java Mon Dec 10 06:18:56 2012 @@ -932,7 +932,7 @@ public class RubySchema extends RubyObje * Schema. This method only works if the Schema has one FieldSchema. * * @param context the context the method is being executed in - * @Return the name of the Schema + * @return the name of the Schema */ @JRubyMethod(name = "name") public RubyString getName(ThreadContext context) { Modified: pig/trunk/src/org/apache/pig/tools/pigstats/PigStats.java URL: http://svn.apache.org/viewvc/pig/trunk/src/org/apache/pig/tools/pigstats/PigStats.java?rev=1419207&r1=1419206&r2=1419207&view=diff ============================================================================== --- pig/trunk/src/org/apache/pig/tools/pigstats/PigStats.java (original) +++ pig/trunk/src/org/apache/pig/tools/pigstats/PigStats.java Mon Dec 10 06:18:56 2012 @@ -221,7 +221,7 @@ public abstract class PigStats { * Returns a List representation of the Job graph. Returned list is an * ArrayList * - * @return + * @return List */ @SuppressWarnings("unchecked") public List getJobList() {