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

Fix ConventionModel constructor

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Test Coverage
    • None

      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

       

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

              Created:
              Updated:
              Resolved: