Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Vaadin6からVaadin7に移行していますが、この過程で奇妙なことがわかりました。Unitクラスがあり、Sizeableインターフェイスに同じ名前の別の列挙型があります。Unitクラスをインポートして使用しようとすると、Eclipseはクラスの代わりにSizeable.Unit列挙型を自動的に使用しようとします。誰かが何が起こっているのか説明できますか?
すべてのVaadinコンポーネントは、から派生しているためSizeable、Sizeable.Unit常にスコープ内にあります。自分のUnitクラスには完全修飾名を使用する必要があります。
Sizeable
Sizeable.Unit
Unit