Kaydet (Commit) 4155c28a authored tarafından Noel Grandin's avatar Noel Grandin

java: remove unused interfaces

found by UCDetector

Change-Id: Ide8b3b5c9969048aff84eed16b9eea096abad349
üst c5581d19
......@@ -468,7 +468,6 @@ $(eval $(call gb_Package_add_files_with_dir,odk_examples,$(SDKDIRNAME)/examples,
java/Inspector/XDialogProvider.java \
java/Inspector/XInstanceInspector.idl \
java/Inspector/XLanguageSourceCodeGenerator.java \
java/Inspector/XMethodParametersDialog.java \
java/Inspector/XTreeControlProvider.java \
java/Inspector/XTreePathProvider.java \
java/Inspector/XUnoFacetteNode.java \
......
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
* the BSD license.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of Sun Microsystems, Inc. nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*************************************************************************/
public interface XMethodParametersDialog {
}
......@@ -57,7 +57,6 @@ $(eval $(call gb_Jar_add_sourcefiles,reportbuilder,\
reportbuilder/java/org/libreoffice/report/ReportExecutionException \
reportbuilder/java/org/libreoffice/report/ReportExpression \
reportbuilder/java/org/libreoffice/report/ReportExpressionMetaData \
reportbuilder/java/org/libreoffice/report/ReportFunction \
reportbuilder/java/org/libreoffice/report/ReportJob \
reportbuilder/java/org/libreoffice/report/ReportJobDefinition \
reportbuilder/java/org/libreoffice/report/ReportJobFactory \
......
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* 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 .
*/
package org.libreoffice.report;
/**
* Functions are statefull computation components.
*
* Functions are allowed to have a state, but are considered
* immutable (the same is true for expressions). Functions are
* allowed to update their state on every call to 'advance', which
* signals, that the cursor has been moved.
*
* Functions have no way to 'reset' their state, if a reset is needed,
* the report engine is urged to query a new instance from the ReportAddin.
*/
public interface ReportFunction extends ReportExpression
{
public ReportFunction advance(DataRow row);
}
......@@ -104,10 +104,6 @@ public class UCB {
return ucb.queryContent(id);
}
public static interface Verifier {
public boolean verify(Object object);
}
@Test public void checkWrongFtpConnection() {
try {
String acountUrl = "ftp://noname:nopasswd@*nohost.invalid";
......
......@@ -105,7 +105,6 @@ $(eval $(call gb_Jar_add_sourcefiles,commonwizards,\
wizards/com/sun/star/wizards/ui/UIConsts \
wizards/com/sun/star/wizards/ui/UnoDialog \
wizards/com/sun/star/wizards/ui/UnoDialog2 \
wizards/com/sun/star/wizards/ui/XCommandSelectionListener \
wizards/com/sun/star/wizards/ui/XFieldSelectionListener \
wizards/com/sun/star/wizards/ui/XPathSelectionListener \
wizards/com/sun/star/wizards/ui/XCompletion \
......
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* 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 .
*/
package com.sun.star.wizards.ui;
public interface XCommandSelectionListener
{
public void CommandSelected(String CommandName);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment