This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example.demo; | |
| import org.apache.kafka.clients.consumer.ConsumerRecord; | |
| import org.apache.kafka.clients.producer.Producer; | |
| import org.apache.kafka.clients.producer.ProducerRecord; | |
| import org.apache.kafka.common.serialization.StringDeserializer; | |
| import org.apache.kafka.common.serialization.StringSerializer; | |
| import org.junit.jupiter.api.AfterAll; | |
| import org.junit.jupiter.api.BeforeAll; | |
| import org.junit.jupiter.api.Test; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import glob | |
| import operator | |
| # 조사할 디렉토리 경로 | |
| ROOT_DIR = '/Users/someproject/path' | |
| # 조사할 확장자 목록 | |
| extensions = [ | |
| '*.java', | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class Main { | |
| public static void main(String[] args) { | |
| int argument = 4; | |
| argument = someOperation(argument); | |
| } | |
| private static int someOperation(int param){ | |
| int tmp = param * 3; | |
| int result = tmp / 2; | |
| return result; |
OlderNewer