Bug 20544 [typing] Auto-indent doesn't work for simple IF statements
if (value == null)<<ENTER_KEY>> should cause the indent level to increase. then I could type: if (value == null) return;
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java
IRegion r= temp.getLineInformation(l);
				int lineOffset= r.getOffset();
				int lineLength= r.getLength();
				
				if (lineLength == 0) 
					continue;
				
				if (!isIndentDetected){
					
					
					String current= getCurrentIndent(temp, l);
					StringBuffer correct= indenter.computeIndentation(lineOffset);
					if (correct == null)
						return; 
					
					insertLength= subtractIndent(correct, current, addition);
					if (l != first)
						isIndentDetected= true;
				}
				
				 
				if (insertLength > 0)
					addIndent(temp, l, addition);
				else if (insertLength < 0)
					cutIndent(temp, l, -insertLength);
				
			}
			
			newText= temp.get(prefix.length(), temp.getLength() - prefix.length());