X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.g2d%2Fsrc%2Forg%2Fsimantics%2Fg2d%2Felement%2Fhandler%2Fimpl%2FTerminals.java;h=f38e0a6c5910d08555783168e777b2f574bc224b;hb=74776fa0c613daf38465901c248433bec99d2c72;hp=ca8518e6c38a5863267edb63b4f5336a01fdfe1b;hpb=4b6ff1fec23b4a67b8bef502922ee9801c84a394;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.g2d/src/org/simantics/g2d/element/handler/impl/Terminals.java b/bundles/org.simantics.g2d/src/org/simantics/g2d/element/handler/impl/Terminals.java index ca8518e6c..f38e0a6c5 100644 --- a/bundles/org.simantics.g2d/src/org/simantics/g2d/element/handler/impl/Terminals.java +++ b/bundles/org.simantics.g2d/src/org/simantics/g2d/element/handler/impl/Terminals.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management + * Copyright (c) 2007, 2017 Association for Decentralized Information Management * in Industry THTH ry. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 @@ -8,6 +8,7 @@ * * Contributors: * VTT Technical Research Centre of Finland - initial API and implementation + * Semantum Oy - #7119 refactoring *******************************************************************************/ package org.simantics.g2d.element.handler.impl; @@ -30,10 +31,10 @@ import org.simantics.g2d.utils.geom.DirectionSet; */ public class Terminals implements TerminalLayout, TerminalTopology { - private static final long serialVersionUID = -6532093690907028016L; + private static final long serialVersionUID = -6532093690907028016L; - private final Map terminalMap = new THashMap(); - private final ArrayList terminals = new ArrayList(); + protected final Map terminalMap = new THashMap<>(); + protected final ArrayList terminals = new ArrayList<>(); public Terminals(Collection ts) { for (ObjectTerminal ti : ts) {