code: public void setStopbits(String stopbits) {
          if (ModbusUtil.isBlank(stopbits) || stopbits.equals("1")) {
              this.stopbits = AbstractSerialConnection.ONE_STOP_BIT;
          }
          else if (stopbits.equals("1.5")) {
              this.stopbits = AbstractSerialConnection.ONE_POINT_FIVE_STOP_BITS;
          }
          else if (stopbits.equals("2")) {
              this.stopbits = AbstractSerialConnection.TWO_STOP_BITS;
          }
      }
docs: Sets the number of stop bits from the given <tt>String</tt>.
  
  @param stopbits the number of stop bits as <tt>String</tt>.