Uploaded image for project: 'Commons Chain'
  1. Commons Chain
  2. CHAIN-1

[chain] Code fragment incorrect

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 1.1
    • None
    • None
    • Operating System: All
      Platform: All

    • 32655

    Description

      Code fragment from 'cookbook' is incorrect:

      in 'ProfileCheck' class the method 'newProfile' should return 'Profile' not a
      boolean.

      public boolean newProfile(Context context)

      { return new Profile(); }

      should be:

      public Profile newProfile(Context context) { return new Profile(); }

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            sergio.moretto@tiscali.it Sergio Moretto
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment