Beehive
  1. Beehive
  2. BEEHIVE-21

Control Impl's Compile even if they do not implement their interface

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: v1m1
    • Fix Version/s: V1Alpha
    • Component/s: Controls
    • Labels:
      None

      Description

      A Control Impl should not compile without an error (or maybe just a warning?) when it does not implement it's interface.

        Activity

        Zach Smith created issue -
        Hide
        Kenneth Tam added a comment -

        It's an error for control impls to not implement a control interface.
        Fixed @ rev 55279.

        Show
        Kenneth Tam added a comment - It's an error for control impls to not implement a control interface. Fixed @ rev 55279.
        Kenneth Tam made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Assignee Kenneth Tam [ kentam ] Zach Smith [ zsmith ]
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s TBD [ 10925 ]
        Hide
        Zach Smith added a comment -

        i now see the following:

        [apt] Compiling 1 source file to D:\beehive\trunk\controls\test\build\classes\beans
        [apt] D:\beehive\trunk\controls\test\build\beansrc\org\apache\beehive\controls\test\controls\assembly\AssemblyTestControlImpl.java:8: Control implementations must implement a control interface
        [apt] public class AssemblyTestControlImpl implements java.io.Serializable
        [apt] ^
        [apt] D:\beehive\trunk\controls\test\build\beansrc\org\apache\beehive\controls\test\controls\assembly\AssemblyTestControlImpl.java:8: Control implementations must implement a control interface

        Show
        Zach Smith added a comment - i now see the following: [apt] Compiling 1 source file to D:\beehive\trunk\controls\test\build\classes\beans [apt] D:\beehive\trunk\controls\test\build\beansrc\org\apache\beehive\controls\test\controls\assembly\AssemblyTestControlImpl.java:8: Control implementations must implement a control interface [apt] public class AssemblyTestControlImpl implements java.io.Serializable [apt] ^ [apt] D:\beehive\trunk\controls\test\build\beansrc\org\apache\beehive\controls\test\controls\assembly\AssemblyTestControlImpl.java:8: Control implementations must implement a control interface
        Zach Smith made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Zach Smith
            Reporter:
            Zach Smith
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development