Merge pull request #1440 from rodrigo93/Removed-Unused-Void-class

Removed Unused Void ClassRemoved the class _Void.java_ from _/cloud-framework-ipc/src/org/apache/cloudstack/framework/async/Void.java_ since the method _public void AsyncMethod(Object realParam,
AsyncCompletionCallback<Void> callback)_ does not exist and it does not seem to be used in another place.
Also, removed an unnecessary comment in
_/cloudstack-framework/ipc/test/org/apache/cloudstack/framework/codestyle/AsyncSampleListenerStyleCaller.java_

* pr/1440:
  Removed Unused Void Class

Signed-off-by: Will Stevens <williamstevens@gmail.com>
This commit is contained in:
Will Stevens 2016-05-10 23:50:57 -04:00
commit baecaa8c8e
2 changed files with 0 additions and 36 deletions

View File

@ -1,27 +0,0 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you 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 org.apache.cloudstack.framework.async;
/**
* This is place-holder class to help AsyncMethod to indicate void return value
* public void AsyncMethod(Object realParam, AsyncCompletionCallback<Void> callback) {
*
*/
public class Void {
}

View File

@ -23,14 +23,5 @@ public class AsyncSampleListenerStyleCaller {
public void MethodThatWillCallAsyncMethod() {
String vol = new String();
/* _ds.createVolume(vol,
new AsyncCompletionCallback<String>() {
@Override
public void complete(String resultObject) {
// TODO Auto-generated method stub
}
});*/
}
}