PIG-5264: Fix HCatLoader failure after removing deprecated method (satishsaley via rohini)

git-svn-id: https://svn.apache.org/repos/asf/pig/trunk@1804064 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/org/apache/pig/ResourceStatistics.java b/src/org/apache/pig/ResourceStatistics.java
index 9f83580..0266ce5 100644
--- a/src/org/apache/pig/ResourceStatistics.java
+++ b/src/org/apache/pig/ResourceStatistics.java
@@ -198,6 +198,16 @@
     }
 
     /**
+     * @param mBytes
+     * @deprecated Use {@link ResourceStatistics#setSizeInBytes(Long)} instead
+     */
+    @Deprecated
+    public ResourceStatistics setmBytes(Long mBytes) {
+        this.bytes = mBytes * 1024 * 1024;
+        return this;
+    }
+
+    /**
      * Sets the size in bytes
      * 
      * @param bytes