Home | History | Annotate | Download | only in util
      1 /*
      2  * Copyright (c) 2007 Mockito contributors
      3  * This program is made available under the terms of the MIT License.
      4  */
      5 package org.mockito.internal.util;
      6 
      7 public class RemoveFirstLine {
      8 
      9     /**
     10      * @param text to have the first line removed
     11      * @return less first line
     12      */
     13     public String of(String text) {
     14         return text.replaceFirst(".*?\n", "");
     15     }
     16 }
     17