Added missing @Deprecated annotations. (cherry picking from commit be90106b8430386d93ecba7afcd465c09e2b0125)
This commit is contained in:
		
							parent
							
								
									37307708fd
								
							
						
					
					
						commit
						e0f590da98
					
				
					 4 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -586,6 +586,7 @@ public class ResponseBean implements Serializable {
 | 
				
			||||||
     * Old version for push() kept for compatibility
 | 
					     * Old version for push() kept for compatibility
 | 
				
			||||||
     * @deprecated
 | 
					     * @deprecated
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
 | 
					    @Deprecated
 | 
				
			||||||
    public void pushStringBuffer() {
 | 
					    public void pushStringBuffer() {
 | 
				
			||||||
        res.pushBuffer(null);
 | 
					        res.pushBuffer(null);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					@ -595,6 +596,7 @@ public class ResponseBean implements Serializable {
 | 
				
			||||||
     * @deprecated
 | 
					     * @deprecated
 | 
				
			||||||
     * @return ...
 | 
					     * @return ...
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
 | 
					    @Deprecated
 | 
				
			||||||
    public String popStringBuffer() {
 | 
					    public String popStringBuffer() {
 | 
				
			||||||
        return res.popString();
 | 
					        return res.popString();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -142,6 +142,7 @@ public class RequestPath {
 | 
				
			||||||
     * @return the index of the element, or -1 if it isn't contained
 | 
					     * @return the index of the element, or -1 if it isn't contained
 | 
				
			||||||
     * @deprecated use {@link #indexOf(Object)} instead.
 | 
					     * @deprecated use {@link #indexOf(Object)} instead.
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
 | 
					    @Deprecated
 | 
				
			||||||
    public int contains(Object obj) {
 | 
					    public int contains(Object obj) {
 | 
				
			||||||
        return objects.indexOf(obj);
 | 
					        return objects.indexOf(obj);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -380,6 +380,7 @@ public class GlobalObject extends ImporterTopLevel implements PropertyRecorder {
 | 
				
			||||||
     * @param name the name of the libary namespace
 | 
					     * @param name the name of the libary namespace
 | 
				
			||||||
     * @deprecated should be implemented in JavaScript instead
 | 
					     * @deprecated should be implemented in JavaScript instead
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
 | 
					    @Deprecated
 | 
				
			||||||
    public void defineLibraryScope(final String name) {
 | 
					    public void defineLibraryScope(final String name) {
 | 
				
			||||||
        Object obj = get(name, this);
 | 
					        Object obj = get(name, this);
 | 
				
			||||||
        if (obj != NOT_FOUND) {
 | 
					        if (obj != NOT_FOUND) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -707,6 +707,7 @@ public class HopObject extends ScriptableObject implements Wrapper, PropertyReco
 | 
				
			||||||
     * Return its index position if it is, and -1 otherwise.
 | 
					     * Return its index position if it is, and -1 otherwise.
 | 
				
			||||||
     * @deprecated use indexOf(Object) instead.
 | 
					     * @deprecated use indexOf(Object) instead.
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
 | 
					    @Deprecated
 | 
				
			||||||
    public int jsFunction_contains(Object obj) {
 | 
					    public int jsFunction_contains(Object obj) {
 | 
				
			||||||
        return jsFunction_indexOf(obj);
 | 
					        return jsFunction_indexOf(obj);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue