package com.hantsylabs.restexample.springmvc.repository;
<BUG>import java.util.List;</BUG>
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.hantsylabs.restexample.springmvc.model.User;
@Repository
public interface UserRepository extends JpaRepository<User, Long> {
<BUG>public List<User> findByUsername(String username);
}</BUG>

package com.hantsylabs.restexample.springmvc.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.hantsylabs.restexample.springmvc.model.User;
@Repository
