1/******************************************************************************* 2 * Copyright (c) 2009, 2018 Mountainminds GmbH & Co. KG and Contributors 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * Marc R. Hoffmann - initial API and implementation 10 * 11 *******************************************************************************/ 12package org.jacoco.core.test.perf.targets; 13 14import java.util.concurrent.Callable; 15 16/** 17 * Simple Loop. 18 */ 19public class Target02 implements Callable<Void> { 20 21 public Void call() throws Exception { 22 @SuppressWarnings("unused") 23 int count = 0; 24 for (int i = 0; i < 10000000; i++) { 25 count++; 26 } 27 return null; 28 } 29 30} 31