Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-4655

Fix ConventionModel constructor

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Trivial - P5 Trivial - P5
    • 4.7.0
    • None
    • Test Coverage
    • None

    Description

      Summary

      In bson/src/test/unit/org/bson/codecs/pojo/entities/ConventionModel.java, the constructor ConventionModel(customId, child, simpleModel) is missing a parameter for myIntField, which is instead assigned to itself.

      public ConventionModel(final String customId, final ConventionModel child, final SimpleModel simpleModel) {
          this.myIntField = myIntField;
          this.customId = customId;
          this.child = child;
          this.simpleModel = simpleModel;
      } 
      

      Version: latest

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            clara.fang@gmail.com Clara Fang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: