 ab72797a41
			
		
	
	
		ab72797a41
		
	
	
	
	
		
			
			Changed the helpful comments to a Javadoc comment, as tooling such as editors will be more likely to make use of it like that. Renamed to emphasise that only trailing new lines are stripped. Added a basic test for this function to ensure it only strips trailing, and also that it does actually strip trailing slashes.