Annotation 뒤에 아무 코드도 없을 때 

 

/* O */
    @Autowired
    private AppleRepository appleRepository;

/* X */
    @Autowired


출처 http://gwons.blogspot.com/2014/11/java.html

String originalStr = "Å×½ºÆ®"; // 테스트 
String [] charSet = {"utf-8","euc-kr","ksc5601","iso-8859-1","x-windows-949"};
  
for (int i=0; i<charSet.length; i++) {
 for (int j=0; j<charSet.length; j++) {
  try {
   System.out.println("[" + charSet[i] +"," + charSet[j] +"] = " + new String(originalStr.getBytes(charSet[i]), charSet[j]));
  } catch (UnsupportedEncodingException e) {
   e.printStackTrace();
  }
 }
}



The void operator evaluates the given expression and then returns undefined.

(https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/void)