src/main/java/sancus/service/ContractOntologyService.java
public String solidityVersion(JsonArray entireContract) {
		StringBuilder s = new StringBuilder();
		try {
			JsonNode jsonNode = new  ObjectMapper().readTree(entireContract.get(2).toString());
			List<String> versionValues = jsonNode.findValuesAsText(ConfigTokens.text);
			for(int i = 0; i<versionValues.size(); i++) {
				s.append(versionValues.get(i));
				s.append("");
			}
		} catch (JsonProcessingException e) {
			e.printStackTrace();
		}
		return s.toString();
	}
/**
	 * Check Solidity version
	 * @param entireContract
	 * @return
	 */
Check Solidity version
@param entireContract
@return
Check Solidity version @param entireContract @return
public String solidityVersion(JsonArray entireContract) {
		StringBuilder s = new StringBuilder();
		try {
			JsonNode jsonNode = new  ObjectMapper().readTree(entireContract.get(2).toString());
			List<String> versionValues = jsonNode.findValuesAsText(ConfigTokens.text);
			for(int i = 0; i<versionValues.size(); i++) {
				s.append(versionValues.get(i));
				s.append("");
			}
		} catch (JsonProcessingException e) {
			e.printStackTrace();
		}
		return s.toString();
	}
public String solidityVersion ( JsonArray entireContract ) { StringBuilder s = new StringBuilder ( ) ; try { JsonNode jsonNode = new ObjectMapper ( ) . readTree ( entireContract . get ( 2 ) . toString ( ) ) ; List < String > versionValues = jsonNode . findValuesAsText ( ConfigTokens . text ) ; for ( int i = 0 ; i < versionValues . size ( ) ; i ++ ) { s . append ( versionValues . get ( i ) ) ; s . append ( "" ) ; } } catch ( JsonProcessingException e ) { e . printStackTrace ( ) ; } return s . toString ( ) ; }
Check Solidity version
 @param entireContract
 @return
Check Solidity version @param entireContract @return