From 366e1238bd41eecf6727784402592fd5c278fe8f Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 15 Oct 2015 09:14:53 +0200 Subject: [API CHANGE] Remove deprecated com.sun.star.uno.Union class ...which had never been useful for anything, as UNOIDL does not have a union concept. In light of coverity#1327215 "UwF: Unwritten field," seems cleaner to just remove that class completely than to silence that somewhat bogus (as the class is non-final, so derivations could actually set m_value) Coverity warning. Change-Id: Iaef9003a84e2c2f73adb2744bd759460cb149f68 --- ridljar/Jar_ridl.mk | 1 - ridljar/com/sun/star/uno/Union.java | 37 ------------------------------------- 2 files changed, 38 deletions(-) delete mode 100644 ridljar/com/sun/star/uno/Union.java (limited to 'ridljar') diff --git a/ridljar/Jar_ridl.mk b/ridljar/Jar_ridl.mk index d76429ba79e7..cdee781d5be6 100644 --- a/ridljar/Jar_ridl.mk +++ b/ridljar/Jar_ridl.mk @@ -44,7 +44,6 @@ $(eval $(call gb_Jar_add_sourcefiles,ridl,\ ridljar/com/sun/star/uno/IQueryInterface \ ridljar/com/sun/star/uno/ITypeDescription \ ridljar/com/sun/star/uno/Type \ - ridljar/com/sun/star/uno/Union \ ridljar/com/sun/star/uno/UnoRuntime \ )) diff --git a/ridljar/com/sun/star/uno/Union.java b/ridljar/com/sun/star/uno/Union.java deleted file mode 100644 index 4c7da7b51075..000000000000 --- a/ridljar/com/sun/star/uno/Union.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * 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.uno; - -/** - * Deprecated, UNOIDL does not have a union concept. - */ -@Deprecated -public class Union { - /** - * Get the value in the union. - *

The representation of the value is an any.

- * @return the any value. - */ - public final Object getValue() { - return m_value; - } - - protected Object m_value; -} - -- cgit v1.2.3