From 9d8e0dd887365961cb6366c0bab96be5e9b6325a Mon Sep 17 00:00:00 2001 From: weisj Date: Wed, 16 Oct 2019 23:15:35 +0200 Subject: [PATCH] removed unnecessary marker interface. --- .../tabframe/TabFrameContentPane.java | 2 +- .../components/tabframe/TabFrameControl.java | 27 ------------------- 2 files changed, 1 insertion(+), 28 deletions(-) delete mode 100644 src/main/java/com/weis/darklaf/components/tabframe/TabFrameControl.java diff --git a/src/main/java/com/weis/darklaf/components/tabframe/TabFrameContentPane.java b/src/main/java/com/weis/darklaf/components/tabframe/TabFrameContentPane.java index e86fa4cb..15a0cb61 100644 --- a/src/main/java/com/weis/darklaf/components/tabframe/TabFrameContentPane.java +++ b/src/main/java/com/weis/darklaf/components/tabframe/TabFrameContentPane.java @@ -447,7 +447,7 @@ public class TabFrameContentPane extends JPanel implements TabFrameContent { } } - protected static class TabFrameSplitPane extends ToggleSplitPane implements TabFrameControl { + protected static class TabFrameSplitPane extends ToggleSplitPane { protected TabFrameSplitPane(final String name) { super(name); } diff --git a/src/main/java/com/weis/darklaf/components/tabframe/TabFrameControl.java b/src/main/java/com/weis/darklaf/components/tabframe/TabFrameControl.java deleted file mode 100644 index ee373b8a..00000000 --- a/src/main/java/com/weis/darklaf/components/tabframe/TabFrameControl.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * MIT License - * - * Copyright (c) 2019 Jannis Weis - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ -package com.weis.darklaf.components.tabframe; - -public interface TabFrameControl { -}