Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.14
    • Component/s: Rules
    • Labels:
      None

      Description

      RSPEC-2077 should be triggered when String is concatenated using +=

      public List<Object[]> notFiring(String table) {
      	 		        		
      	String query = "SELECT * ";
      	query += "FROM " + table; 
      
      	return em.createNativeQuery(query).getResultList();		// False negative
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                quentin.jaquier Quentin Jaquier
                Reporter:
                tibor.blenessy Tibor Blenessy
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: