Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Rico (Ruby)
    • Labels:
      None
    • Number of attachments :
      0

      Description

      When using rico with warnings in ruby enabled (the -w option) it spews lots of warnings about using the @component_instance field when it's not initialized.

      The one-line patch below simply initializes it to nil.

      (There's no separate Jira project for Rico, nor is there a component for it, but this seemed like the right place anyway).

      Index: rico/componentspecification.rb
      ===================================================================
      RCS file: /cvsroot/picocontainer/rico/rico/componentspecification.rb,v
      retrieving revision 1.10
      diff -r1.10 componentspecification.rb
      12a13
      > @component_instance = nil
      54c55
      < end
      \ No newline at end of file
      —
      > end

        Activity

        Dan North made changes -
        Field Original Value New Value
        Assignee Dan North [ tastapod ]
        Hide
        Dan North added a comment -

        Done - thanks

        Show
        Dan North added a comment - Done - thanks
        Dan North made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Aslak Hellesøy made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Aslak Hellesøy made changes -
        Component/s Rico (Ruby) [ 10596 ]
        Aslak Hellesøy made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Dan North
            Reporter:
            Anders Bengtsson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: