blob_id stringlengths 40 40 | language stringclasses 1
value | repo_name stringlengths 5 132 | path stringlengths 2 382 | src_encoding stringclasses 34
values | length_bytes int64 9 3.8M | score float64 1.5 4.94 | int_score int64 2 5 | detected_licenses listlengths 0 142 | license_type stringclasses 2
values | text stringlengths 9 3.8M | download_success bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|
00c058ef54feb6c905c09d37fa90602748a368f1 | Java | afs/jena-workspace | /src/main/java/io/IOZ.java | UTF-8 | 3,398 | 2.578125 | 3 | [] | permissive | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | true |
a4eb7c4558d58942e14e51695186ef0dafc706b6 | Java | norteksoft/iMatrix-v6.5.RC2 | /src/main/java/com/norteksoft/task/base/enumeration/TaskState.java | UTF-8 | 781 | 2.5625 | 3 | [] | no_license | package com.norteksoft.task.base.enumeration;
/**
* 任务状态
* @author Administrator
*
*/
public enum TaskState {
/**
* 待办理
*/
WAIT_TRANSACT("task.state.waitTransact"),//待办理
WAIT_DESIGNATE_TRANSACTOR("task.state.waitDesignateTransactor"),//等待设置办理人
COMPLETED("task.state.completed"),//已完成
CANCELLED("task.state.c... | true |
91e2d62046d760b8fca406b1c1662715fe06e9d7 | Java | nazaretdf/prueba | /web-ejemplo/src/es/insa/curso/web/servlets/Servlet1.java | IBM852 | 2,188 | 3.140625 | 3 | [] | no_license | package es.insa.curso.web.servlets;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Servlet implementation class Servlet1
*/
public class Servlet1 e... | true |
5bd8a52931a46f1ae85e52471c71799242a68627 | Java | RedNicStone/ChromatiCraft | /Render/TESR/PowerTreeRender.java | UTF-8 | 6,404 | 1.78125 | 2 | [] | no_license | /*******************************************************************************
* @author Reika Kalseki
*
* Copyright 2017
*
* All rights reserved.
* Distribution of the software in any form is only allowed with
* explicit, prior permission from the owner.
****************************************************... | true |
997f7a6a70c3e96d01d24d32cc557d22235d06bf | Java | yangzilong1986/zhan-cms | /WEB-INF/src/zt/cms/bm/inactloan/ProsecutionPageAction.java | GB18030 | 3,399 | 2 | 2 | [] | no_license | package zt.cms.bm.inactloan;
import java.sql.*;
import zt.platform.db.*;
import zt.platform.form.control.*;
import zt.platform.form.util.*;
import zt.platform.form.util.event.*;
import zt.cms.pub.code.*;
import zt.cmsi.pub.*;
import zt.cms.pub.*;
import zt.cms.bm.common.ParamFactory;
import zt.cms.bm.co... | true |
186f481a97849dd5e750fa39702c6f8ec6e62f8f | Java | paulnoorland/CAPNinaPaul | /Advanced Programming/src/adt/Identifier.java | UTF-8 | 521 | 3.171875 | 3 | [] | no_license | package adt;
public class Identifier implements IIdentifier {
private String string;
public Identifier(String string){
this.string = string;
}
public Identifier(Identifier identifier){
string = identifier.getString();
}
public void init(String string) {
this.string = string;
}
@Override
publi... | true |
09b9d0aa5d10c2d0b25b750c981ff7b7f0245897 | Java | kauannavs/CVU | /src/br/edu/ifba/plugin/COMPRAeVENDA/modelo/bd/estatico/ProdutoDAO.java | ISO-8859-1 | 2,587 | 2.59375 | 3 | [] | no_license | package br.edu.ifba.plugin.COMPRAeVENDA.modelo.bd.estatico;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
public class ProdutoDAO {
private static Map<Integer, Produto> produtos = new TreeMap<Integer, Produto>();
static{
Produto p1 = new Produto();
p1.setI... | true |
98e844c88e47bba40c282b9e183769238be57864 | Java | adalbertocmelo/projeto1 | /workspace/QoEAT/src/com/acesso/web/trocarSenha.java | ISO-8859-1 | 2,444 | 2.453125 | 2 | [] | no_license | package com.acesso.web;
import java.sql.SQLException;
import javax.servlet.http.HttpServletRequest;
import com.lib.cripto;
import com.lib.tCad;
import com.lib.tHtml;
import com.mvc.BusinessLogic;
public class trocarSenha extends tCad implements BusinessLogic{
String link = "/acesso/trocarSenha";
public void inici... | true |
83c929249c726f28a901612060180036237782c6 | Java | Sindragosa/MCE | /sedridor/mce/entities/EntityNatureBolt.java | UTF-8 | 3,063 | 2.25 | 2 | [] | no_license | package sedridor.mce.entities;
import net.minecraft.block.Block;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.projectile.EntityThrowable;
import net.minecraft.potion.Potion;
import net.minecraft.potion.PotionEffect;
import net.minecraft.util.DamageSource;
import net.minecraft.util.MathHelper;
... | true |
d5bea0c5c8e48ca22c8dc72ad36880b2385aa1c5 | Java | OneTwo33/GB | /src/ru/company/onetwo33/javalvl1/homework8/TicTacToe.java | UTF-8 | 8,802 | 3.015625 | 3 | [] | no_license | package ru.company.onetwo33.javalvl1.homework8;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Random;
public class TicTacToe extends JFrame {
private static final int SIZE = 5;
private static final char DOT_X = 'X';
priva... | true |
b9901463e47794d30d490bc228ad0b4c5a44b0a8 | Java | masudjbd/zapi_test | /src/test/java/bvt/ZAPIBvts.java | UTF-8 | 148,762 | 1.59375 | 2 | [] | no_license | /**
* Created by manoj.behera on 13-Feb-2017.
*/
package java.bvt;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Stack;
import org.apache.commons.lang.StringUtils;
import org.json.JSONArray;
import org.jso... | true |
1e221b84b4f1056bf55b90911d4dd5ad78d136f4 | Java | theneoxs/java_prog | /src/application/Tech.java | UTF-8 | 1,958 | 2.75 | 3 | [] | no_license | package application;
import java.sql.Date;
import javafx.beans.property.*;
public class Tech {
private IntegerProperty idtechnic;
private StringProperty name;
private StringProperty model;
private ObjectProperty<Date> date;
private FloatProperty cost;
private IntegerProperty room_num;
private Int... | true |
c71534d3983292a5a8f0ffd98efd67340367b152 | Java | nOoRM7mD/PizzaList | /app/src/main/java/com/example/lenovo/pizzalist/utilties/SortListItem.java | UTF-8 | 618 | 2.734375 | 3 | [] | no_license | package com.example.lenovo.pizzalist.utilties;
import com.example.lenovo.pizzalist.models.Product;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
/**
* Created by lenovo on 5/20/2018.
*/
public class SortListItem {
public List<Product> sortProductList(List<Product> list){
... | true |
be6f0ba5d9b4440ea45813c0ea0714605be1e10c | Java | mminhaz93/Automation | /src/main/java/HomeWork/Musaib/HW0328_MoMovies/pages/MoMoviesPage.java | UTF-8 | 2,574 | 2.40625 | 2 | [] | no_license | package HomeWork.Musaib.HW0328_MoMovies.pages;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
public class MoMoviesPage {
public MoMoviesPage(WebDriver driver) {
this.driver = driver;
}
WebDriver driver;
By searchFieldElm = By.... | true |
a098fca7c4819e34051d5d0a6a630476d0e414b3 | Java | sebaudracco/bubble | /mf/org/apache/xml/serialize/XML11Serializer.java | UTF-8 | 12,660 | 2.109375 | 2 | [] | no_license | package mf.org.apache.xml.serialize;
import java.io.IOException;
import java.io.OutputStream;
import java.io.Writer;
import mf.org.apache.xerces.dom.DOMMessageFormatter;
import mf.org.apache.xerces.util.NamespaceSupport;
import mf.org.apache.xerces.util.SymbolTable;
import mf.org.apache.xerces.util.XML11Char;
import m... | true |
f3309944f6dad384eb4e40f430ce61c77aa80765 | Java | IronMustang3711/frc2019 | /src/main/java/org/usfirst/frc3711/deepspace/commands/sequences/Stow.java | UTF-8 | 710 | 2.328125 | 2 | [
"Apache-2.0"
] | permissive | package org.usfirst.frc3711.deepspace.commands.sequences;
import edu.wpi.first.wpilibj.command.MyCommandGroup;
import org.usfirst.frc3711.deepspace.Robot;
import org.usfirst.frc3711.deepspace.commands.util.MotionMagicSetpoint;
public class Stow extends MyCommandGroup {
public Stow(){
super(Stow.class.getSimpleN... | true |
0872eee0ff361e76a17268c6a7356ed60603f6e0 | Java | NavisionLtd/giftadeed-android-app | /app/src/main/java/giftadeed/kshantechsoft/com/giftadeed/TaggedNeeds/NotificationCountModel.java | UTF-8 | 555 | 1.664063 | 2 | [] | no_license |
/*
* Copyright (C) Navision Ltd. - All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited
*/
package giftadeed.kshantechsoft.com.giftadeed.TaggedNeeds;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class NotificationCo... | true |
7db0d5d4b7da1c15256d260c876f8ed1e716b0a5 | Java | Nanfeng11/Java | /Practice/src/main/java/com/nanfeng/CountNum.java | UTF-8 | 3,053 | 3.4375 | 3 | [] | no_license | package com.nanfeng;
import java.util.*;
/**
* Author:nanfeng
* Created:2019/8/25
*/
public class CountNum {
HashMap<Integer, Integer> map = new HashMap<>();
public int MoreThanHalfNum_Solution(int[] array) {
if (array.length == 0 || array == null) {
return 0;
}
for (in... | true |
6ab577697c7b6f01c8f9fb6d65f056e5b3d40733 | Java | pxson001/facebook-app | /classes7.dex_source_from_JADX/com/facebook/feedback/ui/rows/views/CommentActionsView.java | UTF-8 | 2,668 | 1.695313 | 2 | [] | no_license | package com.facebook.feedback.ui.rows.views;
import android.animation.ValueAnimator;
import android.content.Context;
import android.text.method.LinkMovementMethod;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnTouchListener;
import com.facebook.... | true |
6df9f618a7322d6e88986cc998894dd97bab91a2 | Java | moutainhigh/wencai-dev | /src/main/java/com/sftc/web/service/UserContactLabelService.java | UTF-8 | 590 | 1.929688 | 2 | [] | no_license | package com.sftc.web.service;
import com.sftc.tools.api.APIRequest;
import com.sftc.tools.api.APIResponse;
public interface UserContactLabelService {
/**
* 给好友添加标签
* @param userContactLabel
* @return
*/
APIResponse addLabelForFriend(APIRequest request);
/**
* 删除好友的标签
* @par... | true |
5c8a74cea3782d57cb3830709c5bb8b05328e038 | Java | mapserver2007/restful-service-example-app | /spring-boot/src/main/java/com/example/app/application/session/CustomSocialUserDetailsService.java | UTF-8 | 664 | 1.953125 | 2 | [] | no_license | package com.example.app.application.session;
import org.springframework.dao.DataAccessException;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.social.security.SocialUser;
import org.springframework.social.security.SocialUserDetails;
import org.springframewor... | true |
c68f39747c3d9d334d3f5c1934a13dfbc5ceb18d | Java | salidotir/games-collection-desktop-app | /ui/UI.java | UTF-8 | 1,099 | 2.578125 | 3 | [] | no_license | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ui;
import java.util.Stack;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.stage.St... | true |
a362d8b38818757bb0c0d9dc0cec8a4414de4190 | Java | digimon1740/Coinhunter | /src/main/java/com/coinhunter/web/listener/WebSocketEventListener.java | UTF-8 | 1,854 | 2.171875 | 2 | [] | no_license | package com.coinhunter.web.listener;
import com.coinhunter.core.domain.chat.ChatMessage;
import com.coinhunter.core.domain.user.User;
import com.coinhunter.core.service.user.UserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.... | true |
c65538cae5105c7455495f75522c55c33f890cfe | Java | leihcrev/bls | /src/java/Sarthakmanna.java | UTF-8 | 8,094 | 2.734375 | 3 | [] | no_license | import java.io.BufferedWriter;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.util.ArrayList;
import java.util.Random;
import java.util.Timer;
import java.util.TimerTask;
public class Sarthakmanna ... | true |
ea7f87e6aa21c83cb95bc3f0d8f932102cafe753 | Java | gun-pi/epam-java-cources | /src/main/java/com/epam/university/java/core/task010/Task010Impl.java | UTF-8 | 1,202 | 3.578125 | 4 | [] | no_license | package com.epam.university.java.core.task010;
import java.io.File;
import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;
public class Task010Impl implements Task010 {
/**
* Given a textual file, you should count frequency of words in this file.
*
* @param source source file
... | true |
a2e0ca91ef1254ee48d73feb8db531788de698ee | Java | lelisadav/CSSE473ONLCarterDavey | /Project/RAFinder/app/src/main/java/edu/rosehulman/rafinder/controller/LoginActivity.java | UTF-8 | 9,004 | 2.234375 | 2 | [] | no_license | package edu.rosehulman.rafinder.controller;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bu... | true |
57d1b17625fbe9ab3b266017a2ad686c738d43a0 | Java | Glow-T/LiuJianyu-s-JavaHomework | /src/Pet/Pet2.java | UTF-8 | 168 | 2.9375 | 3 | [] | no_license | package Pet;
public class Pet2 extends Pet{
public String food;
public void chose() {
System.out.println(this.name + ",来吃" + this.food);
}
}
| true |
9505c385190804d08380dead3580c88b03ed0a7a | Java | atilla17/JavaPracttice | /workshop2/src/workshop2.java | UTF-8 | 280 | 1.921875 | 2 | [] | no_license | public class workshop2 {
public static void main(String[] args)
{
//------------ Task1
HangmanGame a1 = new HangmanGame();
a1.Init();
//-------------Task2
//BankChecker a2 = new BankChecker();
//a2.ReadBankInfo();
}
}
| true |
8b7279f59eb1b0ad7928cc5fc2531d5f1c836bb7 | Java | yatingarg37/sumoflist | /sumoflist.java | UTF-8 | 1,448 | 3.46875 | 3 | [] | no_license | package assignments;
import java.util.Scanner;
public class Sumoflist {
Node head;
public static class Node {
int data;
Node next;
Node(int d) {
data=d;
next=null;
}
}
public static Sumoflist insert(Sumoflist li,int d) {
Node newNode=new Node(d);
if(li.head==null) {
li.head=newNode;
}
els... | true |
4802b22355313c56789777c206e28fe81c9a1d25 | Java | bartoszmajsak/rhs-notes-migration-showcase | /src/main/java/com/ctp/rhs/notes/rest/NoteResource.java | UTF-8 | 1,028 | 2.46875 | 2 | [] | no_license | package com.ctp.rhs.notes.rest;
import com.ctp.rhs.notes.model.Note;
import com.ctp.rhs.notes.service.NoteNotFoundException;
import com.ctp.rhs.notes.service.NoteService;
import javax.enterprise.context.RequestScoped;
import javax.inject.Inject;
import javax.servlet.http.HttpServletRequest;
import javax.ws.rs.*;
impo... | true |
b92ba2f7ddb6f40f33f9d9025e0ac03813f19974 | Java | VirtualChenL/LeetCode | /src/NaryTreeLevelOrderTraversal.java | UTF-8 | 1,026 | 3.28125 | 3 | [
"MIT"
] | permissive | import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
/**
* FileName: NaryTreeLevelOrderTraversal
* Description: N叉树的层序遍历
* Author: @VirtualChen
* Date: 2019/2/21 0021 下午 12:36
*/
public class NaryTreeLevelOrderTraversal {
public List<List<Integer>> lev... | true |
20c09dfd6a8725f6fa85d31e3169864e4e38f65d | Java | arkadiuszdom/JavaSudoku | /sudoku/Model/src/main/java/progkomp/zad2/SudokuBoardDaoFactory.java | UTF-8 | 413 | 1.914063 | 2 | [] | no_license | package progkomp.zad2;
public class SudokuBoardDaoFactory {
public static FileSudokuBoardDao getFileDao(final String fileName) {
return new FileSudokuBoardDao(fileName);
}
public static JdbcSudokuBoardDao getDbDao(final String dbName, final String user, final String password) throws Exce... | true |
8b79e673025e20876affd51feecba6614ebfbf7c | Java | gasparhabif/que-me-pongo | /src/main/java/excepciones/GuardarropasNoExistente.java | UTF-8 | 182 | 2.109375 | 2 | [] | no_license | package excepciones;
public class GuardarropasNoExistente extends RuntimeException {
public GuardarropasNoExistente(){
super("El guardarropas seleccionado no existe");
}
}
| true |
d69dbf77fc54b3baf6d7c4720396bdc9bcb6ae1a | Java | AbhimanyuHK/Spring-boot-Rest | /src/test/java/com/big/thinx/service/BigThinxServiceTest.java | UTF-8 | 1,547 | 2.125 | 2 | [] | no_license | /**
*
*/
package com.big.thinx.service;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.doNothing;
import static org.mockito.Mockito.when;
import java.util.Optional;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
i... | true |
63c8495b8fcdeb28d3da156c6c1814e4310399b9 | Java | GuilhermeJWT/Junit-Mockito-Spring-TravisCI | /src/main/java/br/com/systemsgs/implementacao/LivroServiceImpl.java | UTF-8 | 788 | 2.0625 | 2 | [] | no_license | package br.com.systemsgs.implementacao;
import br.com.systemsgs.exception.RegraNegocioException;
import br.com.systemsgs.model.ModelLivros;
import br.com.systemsgs.repository.LivroRepository;
import br.com.systemsgs.service.LivroService;
import org.springframework.stereotype.Service;
@Service
public class LivroServic... | true |
9140a1923897d8fac97beaf62ecdc06e4a5e860e | Java | TacticalDevMC/TrollPlugin | /src/main/java/me/joran/trollplugin/players/events/InventoryListener.java | UTF-8 | 2,533 | 2.28125 | 2 | [] | no_license | package me.joran.trollplugin.players.events;
import me.joran.trollplugin.Main;
import me.joran.trollplugin.troll.enums.Prank;
import me.joran.trollplugin.troll.inventory.PrankInventory;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import o... | true |
0d37f67288e13de3e1354d95ca4391829c97da1f | Java | cha63506/CompSecurity | /NetFlix_source/src/com/netflix/mediaclient/service/resfetcher/volley/ImageLoader$ValidatingListenerWithAnimation.java | UTF-8 | 1,099 | 1.523438 | 2 | [] | no_license | // Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: braces fieldsfirst space lnc
package com.netflix.mediaclient.service.resfetcher.volley;
import android.graphics.Bitmap;
import android.widget.ImageView;
import com.netflix.m... | true |
bacee26fee20379fc7e0d5d230c801ceb69ba23c | Java | smileMrLee/free-time-pro | /demo-img-watermark/src/main/java/com/evc/freetime/img/demo/TextMarkProcessor.java | UTF-8 | 2,581 | 3.03125 | 3 | [] | no_license | package com.evc.freetime.img.demo;
import javax.imageio.ImageIO;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileOutputStream;
import java.io.OutputStream;
/**
* @author changle
* @time 18/1/4.
* description 为图片添加文字水印.
* 转载自:http://blog.csdn.net/top_code/article/det... | true |
0f0631b9432437a94f29009db61e9338a6cb78d1 | Java | KernelBK/GetQQMusic | /src/main/java/music/pass/Data.java | UTF-8 | 3,284 | 1.742188 | 2 | [] | no_license | /**
* Copyright 2018 bejson.com
*/
package music.pass;
import java.util.List;
/**
* Auto-generated: 2018-11-29 15:21:40
*
* @author bejson.com (i@bejson.com)
* @website http://www.bejson.com/java2pojo/
*/
public class Data {
private long expiration;
private String login_key;
private List<Midurli... | true |
61201e4d59683f019842895c14cac4fd4d0afd09 | Java | zycgit/configuration | /hasor-garbage/schema/RelationBeanDefine.java | UTF-8 | 1,531 | 2.265625 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2008-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | true |
ca70722251f547ff2f7aa81c0b918731d050596d | Java | darkoce/travel | /src/main/java/com/zepp/rpp/services/notice/NoticeService.java | UTF-8 | 284 | 1.796875 | 2 | [] | no_license | package com.zepp.rpp.services.notice;
import java.util.List;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import com.zepp.rpp.domains.Notice;
public interface NoticeService {
public Page<Notice> findNotices(Pageable pageable);
}
| true |
931691764c689bb0ae07dff2e4b08d311e386c33 | Java | sergio-bruno/java-ee-hosp-enterprise | /src/main/java/br/gov/pe/sismepe/ehospenterprise/filtro/ClasseMedicamentoFiltro.java | UTF-8 | 432 | 1.921875 | 2 | [] | no_license | package br.gov.pe.sismepe.ehospenterprise.filtro;
import java.io.Serializable;
public class ClasseMedicamentoFiltro implements Serializable {
private static final long serialVersionUID = 1L;
private String dsClasseMedicamento;
public String getDsClasseMedicamento() {
return dsClasseMedicamento;
}
public vo... | true |
1e62badb2b4e8c87dab08915abeb2c7c5af8a3bc | Java | Tomuss/GuestBookTest | /src/main/java/tomus/guestbooktest/step4/EditServlet.java | UTF-8 | 1,868 | 2.375 | 2 | [
"Apache-2.0"
] | permissive | package tomus.guestbooktest.step4;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse... | true |
23d91fca00df324411e15aeb876610b76ec33779 | Java | amolpsingh/APCS-Workspace | /A12_6ParallelLines/ParallelLines.java | UTF-8 | 2,993 | 3.515625 | 4 | [] | no_license | import java.awt.*;
import javax.swing.*;
/**
* This class is used to make an illusion of parallel lines
* It uses graphical components and paints rectangles in a line
* with alternating positions
*
* @author
* @version Sep 21, 2017
* @author Period: 2
* @author Assignment: A12_6ParallelLines
*
... | true |
8115c744e8557c203ec3452131a092bafe3f50f0 | Java | CandlelightDoener/AntColony | /org.improuv.coderetreat/src/main/java/org/improuv/coderetreat/antcolony/BreadcrumbPile.java | UTF-8 | 238 | 2.0625 | 2 | [] | no_license | package org.improuv.coderetreat.antcolony;
public class BreadcrumbPile {
private Location location;
public Location getLocation() {
return location;
}
public BreadcrumbPile(Location location) {
this.location = location;
}
}
| true |
cda73507eafbe460718fea34f99a4dfb4644814c | Java | 9Ox/BlastFurnace | /BlastFurnaceScript/src/scripts/blastfurnace/jobs/Pumper.java | UTF-8 | 2,905 | 2.421875 | 2 | [] | no_license | package scripts.blastfurnace.jobs;
import org.tribot.api.General;
import org.tribot.api.Timing;
import org.tribot.api.types.generic.Condition;
import org.tribot.api2007.Camera;
import org.tribot.api2007.Combat;
import org.tribot.api2007.Interfaces;
import org.tribot.api2007.Player;
import org.tribot.api2007.types.RSOb... | true |
2047f06bfa8ff6db75a2604151bec06a0ff6f9c3 | Java | msdewitt/JavaDecompilationPractice | /z/ca.java | UTF-8 | 6,387 | 2.234375 | 2 | [] | no_license | package z;
import java.util.ArrayList;
import java.util.List;
public class ca
extends aux
{
public String jdField_new;
public List<Object> jdField_void;
public ca(String a)
{
a.<init>(327680, a);
if (a.getClass() != ca.class) {
thr... | true |
b91f8b50958d28a7cb99ac8b2fe7833ab5cbbeaf | Java | ysqin/HSF | /src/main/java/com/eric/hsf/protocol/ResultWrap.java | UTF-8 | 1,219 | 2.234375 | 2 | [] | no_license | package com.eric.hsf.protocol;
import java.io.Serializable;
import java.util.Map;
/**
* @author: Eric
* @date: 18/06/22
*/
public class ResultWrap implements Serializable {
/** Field description */
private Result result;
/** Field description */
private Map<Object, Object> attchment;
/**
... | true |
e2e76ffd10cae8a31d0ce959cb08bc17c289028f | Java | jeffreyyip/inventory-multi-level | /src/main/java/inventory/web/InventoryWebController.java | UTF-8 | 358 | 1.757813 | 2 | [] | no_license | package inventory.web;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class InventoryWebController {
/**
*
* @return for retrieving testing GUI
*/
@RequestMapping(value = "/web")
public String inventory()... | true |
a148cced4dd557737de3193c189530090cd778e6 | Java | SoulFoxer/Pong | /src/com/pong/UI.java | UTF-8 | 11,646 | 2.96875 | 3 | [] | no_license | package com.pong;
import javax.swing.*;
import java.awt.*;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import static java.awt.event.KeyEvent.*;
public class UI extends JPanel implements KeyListener {
private Player p1;
private Player p2;
private Ball ball;
private volatile bool... | true |
8a7a2baa3fba51787850a3691a9690f134c823a9 | Java | suganthisarathy/Mentor_On_Demand | /mentor-on-demand/src/main/java/com/example/mentorondemand/service/MentorServiceImpl.java | UTF-8 | 1,059 | 2.015625 | 2 | [] | no_license | package com.example.mentorondemand.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.example.mentorondemand.dao.MentorDao;
import com.example.mentorondemand.model.MentorRegistration;
@Service
public cla... | true |
fe257ad51508a14d03d0c60b419ff9d669140114 | Java | allyssonSilva/PatternProject | /src/Controller/Volume.java | UTF-8 | 217 | 1.921875 | 2 | [] | no_license | package Controller;
public class Volume extends Product {
public Volume() {
nome = "Bis Oreo";
preco = 1.5;
codigo = 52;
embalagem = "UNIDADE";
status = true;
qtd = 5;
}
}
| true |
00b35ebe40bd7a0458396ed39d93b7f0d532eed0 | Java | sindhunp20/Java-Programs | /trie/Trie_Problem_06.java | UTF-8 | 1,289 | 3.640625 | 4 | [] | no_license | package trie;
/*
* Problem Title :-Find shortest unique prefix for every word in a given list
*/
public class Trie_Problem_06 {
static int ROW = 4;
static int COL = 5;
// Function that prints all
// unique rows in a given matrix.
static void findUniqueRows(int M[][])
{
// Traverse through the ma... | true |
2201f32fc1311138cd91cf7ce872f55a75530869 | Java | MaxRybetsky/files-searcher | /src/main/java/ru/job4j/exam/output/ConsoleOutput.java | UTF-8 | 836 | 3.15625 | 3 | [] | no_license | package ru.job4j.exam.output;
/**
* Writes information to console via
* {@link System#out}
*/
public class ConsoleOutput implements OutputMessages {
/**
* Prints message to Console. If message
* is {@code null} prints "null"
*
* @param msg Message to print
*/
@Override
public vo... | true |
fc689cb643d211d2800766500cfae405d8ffff7d | Java | raghavb1/oval-search-platform | /OvalSearch/src/main/java/com/ovalsearch/entity/BaseEntity.java | UTF-8 | 1,270 | 2.296875 | 2 | [] | no_license | package com.ovalsearch.entity;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import java... | true |
87c152b2576010fec29b32c42c2bd6784062fe42 | Java | goinggoing/test | /JavaBasic/src/codeUP/Code_1084.java | UTF-8 | 1,363 | 3.40625 | 3 | [] | no_license | package codeUP;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.util.Scanner;
//빨강(red), 초록(green), 파랑(blue) 빛을 섞어
//여러 가지 빛의 색을 만들어 내려고 한다.
//
//빨강(r), 초록(g), 파랑(b) 각각의 빛의 개수가 주어질 때,
//(빛의 강약에 따라 0 ~ n-1 까지 n가지의 빛 색깔을 만들 수 있다.)
//
//주어진 rgb 빛들을 다르게 섞어 만들 수 있는... | true |
03123725e699357a408a455fd93226c883cb0e2b | Java | GYJerry/springProject | /src/test/java/cn/simplemind/FilePathService.java | UTF-8 | 1,635 | 2.484375 | 2 | [] | no_license | package cn.simplemind;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import org.junit.Test;
import org.springframework.stereotype.Service;
/**
*
*
* @author yingdui_wu
* @date 2018年10月16日 下午8:01:27
*/
@Service
public class FilePathService {
@Test
public void pr... | true |
fda4d8c2ac1aaef7689df3f7e25926e48b03fb73 | Java | fugeritaetas/morozko-lib | /java16-fugerit/org.fugerit.java.core/src/main/java/org/fugerit/java/core/ent/web/request/PrintParamsTag.java | UTF-8 | 2,869 | 2.0625 | 2 | [
"Apache-2.0"
] | permissive | package org.fugerit.java.core.ent.web.request;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.jsp.JspException;
import org.fugerit.java.core.web.encoder.SecurityEncoder;
imp... | true |
f258381585747b4a2a3e6cc3d823531cc87fc435 | Java | enaawy/gproject | /gp_JADX/android/support/p027e/bk.java | UTF-8 | 1,223 | 1.765625 | 2 | [] | no_license | package android.support.p027e;
import android.util.Log;
import android.view.ViewGroup;
import java.lang.reflect.Method;
final class bk extends bi {
public static Method f1096f;
public static boolean f1097g;
bk() {
}
public final bg mo232a(ViewGroup viewGroup) {
return new bf(viewGroup);
... | true |
6bfa3e75d74ca73092efa09e3f8f9fefd37ff88b | Java | muzammilpeer/ServisHeroAndroidTest | /ServisHero/app/src/main/java/com/muzammilpeer/servishero/cell/MultiSelectControllCell.java | UTF-8 | 2,920 | 2.234375 | 2 | [] | no_license | package com.muzammilpeer.servishero.cell;
import android.content.Context;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.RadioButton;
import andr... | true |
55fda1ec38fc57f1cf4e8598bc8cd2262936d9f7 | Java | yogiastawan/Volcano_Monitoring | /app/src/main/java/id/michale/volcanomonitoring/MainActivityModel.java | UTF-8 | 2,966 | 2.171875 | 2 | [] | no_license | package id.michale.volcanomonitoring;
import androidx.lifecycle.ViewModel;
import com.github.mikephil.charting.data.Entry;
import java.util.ArrayList;
public class MainActivityModel extends ViewModel {
private String tempStatus;
private String tempValue;
private String humiStatus;
private String hu... | true |
0d86ad3f29081784b8baa1138f948bf8581c1dda | Java | MonthAlcantara/Estudo-Spring-Session-Redis | /src/main/java/io/github/monthalcantara/estudosession/controller/UsuarioController.java | UTF-8 | 2,890 | 2.1875 | 2 | [] | no_license | package io.github.monthalcantara.estudosession.controller;
import io.github.monthalcantara.estudosession.exception.SenhaInvalidaException;
import io.github.monthalcantara.estudosession.jwt.JwtService;
import io.github.monthalcantara.estudosession.model.TokenDTO;
import io.github.monthalcantara.estudosession.model.Usua... | true |
cd9a8914342df0fb2198a2f6ba6c6c336c7af6b4 | Java | yiyongfei/learning | /architecture-core/src/main/java/com/ea/core/storm/bolt/AbstractRichBolt.java | UTF-8 | 1,895 | 2.0625 | 2 | [
"Apache-2.0"
] | permissive | /**
* Copyright 2014 伊永飞
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | true |
e30e75d26bc455adbfbd0cf413ffc88a4f340744 | Java | weexext/ucarweexsdk-adr | /src/main/java/com/ucar/weex/init/utils/ArgumentsUtil.java | UTF-8 | 7,655 | 2.3125 | 2 | [] | no_license | package com.ucar.weex.init.utils;
/**
* Created by chenxi.cui on 2017/7/12.
*/
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
import android.os.Bundle;
import android.text.TextUtils;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObj... | true |
977fee42b1e13a17b599c85d5f146b5f04fc53ea | Java | Farhaan10/Weather-Forecast | /app/src/main/java/com/example/farhaan/farhaanweather/MainActivity.java | UTF-8 | 3,103 | 2.28125 | 2 | [] | no_license | package com.example.farhaan.farhaanweather;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.Html;
import android.widget.ListView;
import android.widget.TextView;
import java.util.List;
import network.Response.Complete;
import network.Response.ConditionDetails;
import ne... | true |
dd4b1af3d13542d170ba1d64c793ead0b31ed267 | Java | merrycoral/hy_spatium | /spatium/src/main/java/com/urban/spatium/controller/MainController.java | UTF-8 | 7,337 | 1.976563 | 2 | [] | no_license | package com.urban.spatium.controller;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLEncoder;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpSession;
import ... | true |
f03b4b1462fae9ffa21c1ae04ea5ce3279332817 | Java | priumoraes/Essay-Scoring | /src/parser/EssayInstance.java | UTF-8 | 1,728 | 2.5 | 2 | [] | no_license | /**
*
*/
package parser;
import java.util.HashMap;
/**
* @author semanticpc
*
*/
public class EssayInstance {
// Not sure if we need all these fields.
// Storing all the fields available in the Training Set File for now
public int essay_id;
public int essay_set;
public String essay;
public int rate... | true |
b18147fd21afd78ddf83aa0b602a3cc56c9a57a8 | Java | lunavictor068/CodeEvalProjects | /src/StringsAndArrows.java | UTF-8 | 604 | 3.046875 | 3 | [] | no_license | /**
* Created by victorluna on 10/16/15.
*/
public class StringsAndArrows {
public static void main (String[] args){
String arrowString = "";
}
public static int findArrows(String arrowString){
int total = 0;
int firstIndex = 0;
int lastIndex = 3;
if (arrowStrin... | true |
dc075182ab57aa29564b7f7c2d533df83df07256 | Java | pab993/AcmeFit | /src/main/java/forms/TrainerForm.java | UTF-8 | 3,861 | 2.3125 | 2 | [] | no_license |
package forms;
import javax.persistence.Column;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.CreditCardNumber;
import org.hibernate.validator.cons... | true |
e5acb24169eaa3315f418906fd5ff5fd88e984a5 | Java | Sashaagapova/CucumberFramework | /src/test/java/runner/JDBCTest.java | UTF-8 | 2,340 | 2.90625 | 3 | [] | no_license | package runner;
import utilities.Configuration;
import utilities.JDBCUtils;
import java.io.IOException;
import java.sql.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class JDBCTest {
// Java database Connectivity
public static void main(String[... | true |
689195cf392108adbfcba52a265137583d31f556 | Java | Nebzei/2FA | /src/main/java/com/nebzei/commands/AlertsCMD.java | UTF-8 | 1,483 | 2.53125 | 3 | [] | no_license | package com.nebzei.commands;
import com.nebzei.TFA;
import com.nebzei.utilities.Utils;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
public class AlertsCMD i... | true |
d5a69eba07f994548c9d54abd58add588921265a | Java | iris-email-client/iris-java9 | /src/iris.persistence.lucene/br/unb/cic/iris/persistence/lucene/internal/FolderDAOLucene.java | UTF-8 | 3,165 | 2.359375 | 2 | [
"MIT"
] | permissive | package br.unb.cic.iris.persistence.lucene.internal;
import java.util.List;
import org.apache.lucene.document.Document;
import org.apache.lucene.document.Field.Store;
import org.apache.lucene.document.StringField;
import org.apache.lucene.index.Term;
import org.apache.lucene.search.Query;
import org.apache.lucene.sea... | true |
5d364af75efef08ad24d39a76ea05d0024b7a4a8 | Java | Planeswalker23/Monitor | /monitor-login/src/main/java/cn/fyd/monitorlogin/service/QuartzService.java | UTF-8 | 1,030 | 2.140625 | 2 | [] | no_license | package cn.fyd.monitorlogin.service;
import cn.fyd.model.Monitor;
import org.quartz.SchedulerException;
/**
* 定时任务服务层
* @author fanyidong
* @date Created in 2019-02-12
*/
public interface QuartzService {
/**
* 任务创建与更新
* @param monitor 监控类
* @throws SchedulerException
*/
void updateQua... | true |
b3eb0c0d6ae708c12368ca8b7308ebeb2befc766 | Java | To-chase/JavaPro | /src/com/day10/Test7/Demo.java | UTF-8 | 915 | 3.265625 | 3 | [] | no_license | package com.day10.Test7;
import java.util.Arrays;
import java.util.Comparator;
public class Demo {
public static void main(String[] args) {
Person[] array={
new Person("amy",12),
new Person("amy1",34),
new Person("amy2",16),
};
// Comparator<P... | true |
f3d9ff044734af0a8c2339a63ef8def3e260b439 | Java | rookiesong/online-shopping-mall | /demo/src/main/java/net/suncaper/demo/service/OrdersService.java | UTF-8 | 492 | 1.867188 | 2 | [] | no_license | package net.suncaper.demo.service;
import net.suncaper.demo.domain.Orders;
import java.util.List;
public interface OrdersService {
public List<Orders> addOrder(String[] cartIds,String userMailAddress,int id);
public String deleteOrder(String ordersId);
public String editOrder(String ordersId,String new... | true |
fd1e578e98629db5b44225c057a877e2332bec2a | Java | ikasarov/multiapps | /multiapps-mta/src/main/java/org/cloudfoundry/multiapps/mta/parsers/v3/ResourceParser.java | UTF-8 | 3,061 | 1.890625 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | package org.cloudfoundry.multiapps.mta.parsers.v3;
import static org.cloudfoundry.multiapps.mta.handlers.v3.Schemas.RESOURCE;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.cloudfoundry.multiapps.common.ParsingException;
import org.cloudfoundry.multiapps.mta.m... | true |
d2f06a57989c597601938252f41e7126d9ab5fbc | Java | kirankbs/dominos | /src/main/java/com/bitwise/dominos/pizza/Crust.java | UTF-8 | 340 | 2.921875 | 3 | [] | no_license | package com.bitwise.dominos.pizza;
public class Crust {
private final String name;
private final double price;
public Crust(String name, double price) {
this.name = name;
this.price = price;
}
public String getName() { return name; }
public double getPrice() {
return ... | true |
f085c8eb35836c84a7dd0ad58d05350d9ec5f639 | Java | XTremEive/Fadin_LD31 | /core/src/com/keenao/mygame/entities/items/Item.java | UTF-8 | 2,659 | 2.765625 | 3 | [] | no_license | package com.keenao.mygame.entities.items;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.Sprite;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.keenao.mygame.entities.Visual;
import com.keenao.mygame.managers.InputManager;
import com... | true |
41c5af7381a939dfc13702d24c3265e45957464b | Java | KatsiarynaZhalabkevich/QuestionnairePortalFinal | /src/main/java/com/github/zhalabkevich/dao/FieldDAO.java | UTF-8 | 551 | 2.296875 | 2 | [] | no_license | package com.github.zhalabkevich.dao;
import com.github.zhalabkevich.domain.Field;
import java.util.List;
public interface FieldDAO {
void addField(Field field) throws DAOException;
boolean isFieldLabelUniq(String label) throws DAOException;
Field getFieldByLabel(String label) throws DAOExcep... | true |
1cdf89c2d6eaf1df14d3fffd4ff2454b60332101 | Java | Samsung/Castanets | /build/android/bytecode/java/org/chromium/bytecode/CustomResourcesClassAdapter.java | UTF-8 | 12,241 | 1.757813 | 2 | [
"BSD-3-Clause"
] | permissive | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.bytecode;
import static org.objectweb.asm.Opcodes.ACC_PUBLIC;
import static org.objectweb.asm.Opcodes.ACONST_NULL;
import static org... | true |
2f2c480709bdbcd8754f8a064b77527b482992d8 | Java | absharma3/Constructs | /Array/src/Equilibrium.java | UTF-8 | 1,485 | 3.109375 | 3 | [] | no_license | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/**
* Created by abhimanyus on 1/25/18.
*/
class Equilibrium {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int ... | true |
030d06ca6806bf1c9015e566159c2beb739f448f | Java | Belphemur/AdminCmd | /src/main/java/be/Balor/World/AbstractWorldFactory.java | UTF-8 | 1,689 | 2.078125 | 2 | [] | no_license | /************************************************************************
* This file is part of AdminCmd.
*
* AdminCmd is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either v... | true |
6d2dd9c1e3bc075c6bcc7b2149f9fafabbf9752a | Java | domhauton/CM30174-Planetary-Exploration-AI | /rover/rover/src/main/java/rover/mediators/data/update/item/ScannerItem.java | UTF-8 | 1,663 | 2.671875 | 3 | [
"Apache-2.0"
] | permissive | package rover.mediators.data.update.item;
/**
* Created by dominic on 26/10/16.
*
* Holds a given scanner item
*/
public class ScannerItem {
private final ScannerItemType scannerItemType;
private final RelativeCoordinates relativeCoordinates;
private final ResourceType resourceType;
public ScannerItem(Sca... | true |
5227c250506b0b201b709e8c5de747b71e67731e | Java | GeorgeCrochiere/EquationCalculatorJava | /EquationHandler.java | UTF-8 | 4,746 | 3.765625 | 4 | [
"MIT"
] | permissive | package MainGraphing;
public class EquationHandler {
public static String EquationAtPoint(String equation, double x) {
String y = "";
int i = 0;
int j = 0;
int startSearch = 0;
int endSearch = 0;
//Fixing little problems - Adding Multiplication Signs and Replacing value for X
equation = equation.rep... | true |
9a9f5a76e8378de84d1e378b04f0ec013004d8ed | Java | sceva95/Progetto-Ingegneria-2020 | /prova/src/main/java/com/example/prova/model/LibroRepository.java | UTF-8 | 460 | 1.820313 | 2 | [] | no_license | package com.example.prova.model;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface LibroRepository extends JpaRepository<Libro, String>... | true |
e0581fbb8ca70ff167b98366ca5c5896f36fe7fd | Java | gaia-adm/metrics-gateway-service | /src/main/java/com/hp/gaia/mgs/dto/change/InnerField.java | UTF-8 | 1,536 | 2.265625 | 2 | [] | no_license | package com.hp.gaia.mgs.dto.change;
import javax.validation.constraints.NotNull;
import java.util.HashMap;
import java.util.Map;
/**
* Created by belozovs on 7/16/2015.
* Field for IssueChangeEvent
*/
public class InnerField {
@NotNull
String name;
@NotNull
String to;
String from;
Long ttc... | true |
cbd05a01a2871b2a28ef7a063631129188ec15bc | Java | whmbuaa/product-projects | /apps/Demo/src/com/quick/demo/retrofit/RequestResult.java | UTF-8 | 404 | 1.875 | 2 | [] | no_license | package com.quick.demo.retrofit;
import java.io.Serializable;
import java.util.Date;
/**
* Created by wanghaiming on 2016/1/14.
*/
public class RequestResult<T> implements Serializable {
public static class Status implements Serializable{
public int code;
public String message;
... | true |
df732a81ba09ddc49a9ee9d124b1c1b701b54979 | Java | fleigm/TransitRouter | /backend/src/main/java/de/fleigm/transitrouter/presets/PresetRepository.java | UTF-8 | 1,671 | 2.296875 | 2 | [] | no_license | package de.fleigm.transitrouter.presets;
import com.fasterxml.jackson.databind.ObjectMapper;
import de.fleigm.transitrouter.data.Repository;
import de.fleigm.transitrouter.feeds.GeneratedFeed;
import de.fleigm.transitrouter.feeds.GeneratedFeedRepository;
import org.eclipse.microprofile.config.inject.ConfigProperty;
i... | true |
43ea3391473c515bb08ec07f2979261c0c0dc655 | Java | AndreaMendoza1/sistema-escaneo-backend | /src/main/java/sistemas/edu/pe/sistemaescaneo/service/impl/UsuarioService.java | UTF-8 | 2,692 | 2.484375 | 2 | [] | no_license | package sistemas.edu.pe.sistemaescaneo.service.impl;
import java.util.List;
import java.util.stream.Collectors;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.... | true |
272929196c68f97ef21a6cade53b88783d4941ab | Java | AlexChanson/BDMA_Hadoop | /src/main/java/com/alexscode/bdma/hadoop/err/StudentNotFoundAdvice.java | UTF-8 | 992 | 2.109375 | 2 | [] | no_license | package com.alexscode.bdma.hadoop.err;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.context.request.WebRequest;
import org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExce... | true |
88a5258cdf692db582c937182dddaab09b7d5f4d | Java | knokko/Gui | /src/nl/knokko/gui/component/text/TextArea.java | UTF-8 | 7,592 | 2.4375 | 2 | [
"MIT"
] | permissive | /*******************************************************************************
* The MIT License
*
* Copyright (c) 2018 knokko
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software with... | true |
1f402179721253a2fc0152ef2224261cf88b8d81 | Java | AlbusSerpents/the-nimble-sloth-router | /src/main/java/com/nimble/sloth/router/func/apps/AppRecorderRepository.java | UTF-8 | 153 | 1.742188 | 2 | [] | no_license | package com.nimble.sloth.router.func.apps;
public interface AppRecorderRepository {
void recordApp(final String appId, final String appAddress);
}
| true |
6bdc216942996962d2875dd7f61677b5e597dc0e | Java | fangbinbin/AppFramework | /app/src/main/java/com/fangbinbin/appframework/dialog/HookUpAlertDialog.java | UTF-8 | 2,534 | 2.5 | 2 | [] | no_license | package com.fangbinbin.appframework.dialog;
import android.app.Dialog;
import android.content.Context;
import android.graphics.Typeface;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import com.fangbinbin.appframework.R;
import com.fangbinbin.appframework.utils.FrameworkApp;
... | true |
f996953b8dbb4e1102c305bce0d29e16d56f486b | Java | liangfahua/springcloud-parent | /springcloud-zuul/src/main/java/org/springcloud/zuul/ZuulApplication.java | UTF-8 | 874 | 1.953125 | 2 | [] | no_license | package org.springcloud.zuul;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
/**
@EnableZuulProxy 开启zuul的路由功能
@Ena... | true |
00baefac38796e0c3c8559ce0fac2866f8ceb443 | Java | fanhaibo2020/springboot02 | /src/main/java/com/example/designPattern/dynamicProxy/TeacherDao.java | UTF-8 | 405 | 2.734375 | 3 | [] | no_license | package com.example.designPattern.dynamicProxy;
/**
* @ClassName TeacherDao
* @Author fhb
* @Date 2020/5/8 14:01
* @Version 1.0
**/
public class TeacherDao implements ITeacherDao {
@Override
public void teach() {
System.out.println("老师正在授课中。。。");
}
@Override
public void sayHello(Stri... | true |
1f4a887ac952352578a0b02b960063b58d324057 | Java | misnearzhang/netty_core_service | /src/main/java/com/syuct/core_service/core/server/ThreadPool.java | UTF-8 | 3,710 | 2.5 | 2 | [] | no_license | package com.syuct.core_service.core.server;
import com.syuct.core_service.core.define.AbstractParse;
import com.syuct.core_service.process.HandMessage;
import com.syuct.core_service.process.SendTask;
import com.syuct.core_service.protoc.TransMessage;
import io.netty.channel.Channel;
import java.io.IOException;
import... | true |
b492e364fbf4e00b619176cdc7586833b90d5f65 | Java | tppsDev/TimSmithInventorySystem | /src/View_Controller/AddPartController.java | UTF-8 | 1,951 | 2.3125 | 2 | [] | no_license | /*
* Project written by: Tim Smith
*
*/
package View_Controller;
import java.io.IOException;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.scene.control... | true |
145a846ed6cadf9d33d6039e04cddc98897f674e | Java | uPortal-Project/uPortal | /uPortal-content/uPortal-content-portlet/src/main/java/org/apereo/portal/portlet/registry/PortletEntityData.java | UTF-8 | 4,589 | 2.046875 | 2 | [
"BSD-3-Clause",
"Apache-2.0",
"MIT",
"CC-BY-3.0",
"CDDL-1.0",
"LGPL-2.1-only",
"CC-BY-SA-3.0",
"MPL-1.1",
"LicenseRef-scancode-unknown-license-reference",
"JSON",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-free-unknown",
"EPL-1.0",
"CPL-1.0",
"Classpath-exception-2.0... | permissive | /**
* Licensed to Apereo under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright ownership. Apereo
* licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use
* this file except in compli... | true |
2db22e55f5eaac0d622892f65c7d70d5ca2c8226 | Java | marcuspramirez/Feedback-Central | /employee-service/src/test/java/com/company/employeeservice/controller/EmployeeServiceControllerTest.java | UTF-8 | 6,125 | 2.375 | 2 | [] | no_license | package com.company.employeeservice.controller;
import com.company.employeeservice.dao.EmployeeRepository;
import com.company.employeeservice.dto.Employee;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.junit.Before;
import org.junit.Test;
impo... | true |
46dc8fba229dd5b80044df9fbc8904e0e5fc4cda | Java | janamava/nacs_java | /src/javaWeek_9/exercise5/FilmSummariser.java | UTF-8 | 2,854 | 3.453125 | 3 | [] | no_license | package javaWeek_9.exercise5;
import java.util.Comparator;
import java.util.List;
import java.util.stream.Collectors;
public class FilmSummariser {
private List<Film> films = new FilmReader().getFilms();
//three films with the highest rating, sorted by rating
public List<Film> getCondition1() {
... | true |