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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
91eb05e0be1fb6f669ef9cde711525ed9864df26 | Java | datree-demo/bcserver_demo | /cosmetic-web/src/main/java/com/cyberlink/cosmetic/action/api/product/UserCollectionAction.java | UTF-8 | 2,792 | 1.890625 | 2 | [
"Apache-2.0"
] | permissive | package com.cyberlink.cosmetic.action.api.product;
import java.util.HashMap;
import java.util.Map;
import com.cyberlink.core.web.view.page.PageResult;
import com.cyberlink.cosmetic.action.api.AbstractAction;
import com.cyberlink.cosmetic.modules.product.dao.ProductCollectionDao;
import com.cyberlink.cosmetic.modules.... | true |
1818c80ec9f7b285d0941515dbb94cc5fc4bb26a | Java | ZimmardiTj/Clype1.0 | /Clype/Clype/src/Test/TestClypeClient.java | UTF-8 | 1,107 | 2.78125 | 3 | [] | no_license |
package Test;
import Main.*;
import Data.*;
public class TestClypeClient {
/**
* This class is used to test the ClypeClient class
* @param args main arguments
*/
public static void main(String[] args) {
//All constructors used to generate a new instance of ClypeClient Object
ClypeClient ... | true |
637b6ff0cf8c57fac173c756f1cc38a669f8ac03 | Java | satishkumar0209/All | /programes/ERPLOGINELEMENTS/src/name/Signup.java | UTF-8 | 3,064 | 2.1875 | 2 | [] | no_license | package name;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
public class Signup
{
public static WebElement element;
public static WebElement fullname(WebDriver driver)
{
return driver.findElement(By.xpath(".//*[@placeholder='Your full name']"));
}
pub... | true |
5fccc9703925735b5b0d020b2896ed1f6293e081 | Java | shaoyunqiu/Reversi | /src/ChessBoardLocal.java | UTF-8 | 10,539 | 2.203125 | 2 | [] | no_license | import java.applet.Applet;
import java.applet.AudioClip;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseEvent;
import java.awt.event.... | true |
677c990d3bb0b83d1660d62602a0cc1043c81102 | Java | xsahil03x/LauncherHomeLock | /app/src/main/java/com/example/primeos/basictest/HomeUtil.java | UTF-8 | 3,187 | 2.4375 | 2 | [] | no_license | package com.example.primeos.basictest;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
public class HomeUtil {
public static void handleHomeButton(Context context, int... iArr) {
... | true |
29c3ed7f34bec0d496d4923ee9d479aa709b3122 | Java | LittleStar-yyy/SanGuo | /app/src/main/java/com/example/lenovo/thedictionaryofsanguo/CommonAdapter.java | UTF-8 | 2,241 | 2.453125 | 2 | [] | no_license | package com.example.lenovo.thedictionaryofsanguo;
/**
* Created by lenovo on 2017/11/9.
*/
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import java.util.List;
public abstract class CommonAdapter<T>ex... | true |
5c1d312060aa19df41862b75a656f14b89369494 | Java | yimenglingchen/YuQ-Core | /src/main/java/com/IceCreamQAQ/YuQ/loader/InvokerClassLoader.java | UTF-8 | 523 | 2.28125 | 2 | [
"Apache-2.0"
] | permissive | package com.IceCreamQAQ.YuQ.loader;
import com.IceCreamQAQ.YuQ.annotation.Inject;
public class InvokerClassLoader extends ClassLoader {
private Long time;
public InvokerClassLoader(@Inject ClassLoader classLoader) {
super(classLoader);
time = System.currentTimeMillis();
}
public Cla... | true |
1f5e5de9e09230ce5b7fccb664c2e69f98ffd186 | Java | itsmebijaya/automationlearning | /WebTable/src/MinChange.java | UTF-8 | 1,793 | 2.8125 | 3 | [] | no_license |
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
/*
* 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.
*/
/**
*
* @au... | true |
ef70e59bcefef389d256fb83e203174be482bb2c | Java | laonanhai481580/WeChat-Java | /jiangling_eqis5.2.1_oracle/src/main/java/com/ambition/util/common/CustomPageUtil.java | UTF-8 | 3,671 | 2.421875 | 2 | [] | no_license | package com.ambition.util.common;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
import org.apache.commons.beanutils.PropertyUtils;
import org.apache.commons.lang.StringUtils;
impo... | true |
ac38ac86423cec6d3370c0978b382cd1a847b8d1 | Java | APCompSci5/APCSSpector | /ch 9/src/Java0917.java | UTF-8 | 742 | 3.828125 | 4 | [] | no_license | // Java0917.java
// Train case study, Stage #3
// This program further improves the <TrainCar> class by
// allowing train cars to be drawn in different locations.
import java.awt.*;
import java.applet.*;
public class Java0917 extends Applet
{
public void paint(Graphics g)
{
TrainCar tc1 = new TrainCar(g,Color.b... | true |
cf91ae53d071b43c09d41e53838f650ca91fb4db | Java | sonammas/blueharvestbank | /accounts/src/main/java/com/mas/sonam/accounts/service/CustomerService.java | UTF-8 | 680 | 2.203125 | 2 | [] | no_license | package com.mas.sonam.accounts.service;
import com.mas.sonam.accounts.repository.CustomerRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.transaction.Transactional;
import java.math.BigDecimal;
@Transactional
@Service
public class ... | true |
4937a08140f0e6c388dbda3cdae6d75a8afbfb25 | Java | 1725136424/gulimall | /gulimall-common/src/main/java/site/wanjiahao/common/constant/CookieConstant.java | UTF-8 | 209 | 1.585938 | 2 | [
"Apache-2.0"
] | permissive | package site.wanjiahao.common.constant;
public class CookieConstant {
public static final String DOMAIN = "gulimall.com";
// 一个月过期
public static final Integer MAX_AGE = 60*60*24*30;
}
| true |
aa2dc1caa8ce5f6b21c53f41f513bafed4831487 | Java | cbngu/Monolith | /monolith-api/src/main/java/gg/warcraft/monolith/api/util/StringUtils.java | UTF-8 | 580 | 2.78125 | 3 | [
"MIT"
] | permissive | package gg.warcraft.monolith.api.util;
/**
* This utility is injectable.
* <p>
* StringUtils provides utility methods for string operations.
*/
public interface StringUtils {
/**
* @return True if the character is a vowel, false otherwise.
*/
boolean isVowel(char c);
/**
* @param strin... | true |
1b9029b7364ff5a40e925abbb715fd222e9316bc | Java | hzyphantaci/CarZ | /src/main/java/carz/po/SellPO.java | UTF-8 | 2,456 | 2.546875 | 3 | [] | no_license | package carz.po;
import java.util.Date;
public class SellPO {
private int sellId;
private String sellCode;
private int carId;
private int userId;
private int sellConcactWay;
private String sellConcactAddress;
private String sellAddress;
private Date sellDate;
private int sellState;
public Sell... | true |
2646f6de0cf74170a870269de3dd4c23c507baf5 | Java | wx8900/MyProjects | /JobApply/src/main/java/priv/cai/jobapply/springmvc/service/EmailService.java | UTF-8 | 190 | 1.734375 | 2 | [] | no_license | package priv.cai.jobapply.springmvc.service;
public interface EmailService {
public void sendEmail(String subject, String body, String sender, String recipients) throws Exception;
}
| true |
29092e93e74bedab2954b46528d8c574dcdc9962 | Java | serskine/DndUtilities | /app/src/main/java/com/soupthatisthick/encounterbuilder/view/cell/summary/CompendiumGroupCell.java | UTF-8 | 2,248 | 2.484375 | 2 | [] | no_license | package com.soupthatisthick.encounterbuilder.view.cell.summary;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.soupthatisthick.encounterbuilder.model.lookup.CustomMonster;
import com.soupthatisthick.encounterbuilder.model.lookup.MagicItem;
import com.soupthatis... | true |
40ff2249ce13f39c778d9a9996f30fcc660c2be0 | Java | jayramdubey/inventory-managment | /src/parasad/com/Dao/StockDao.java | UTF-8 | 7,182 | 2.625 | 3 | [] | no_license | package parasad.com.Dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import parasad.com.bo.BagRequiredRawItem;
impor... | true |
d0da63f00c95e87a25a2d8f5288c79f5e73c59d8 | Java | GHC124/android-recyclerview | /RecyclerViewExample/app/src/main/java/com/jayway/recyclerview/sectionlist/SectionListAdapter.java | UTF-8 | 2,589 | 2.484375 | 2 | [
"Apache-2.0"
] | permissive | package com.jayway.recyclerview.sectionlist;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.jayway.recyclerview.R;
im... | true |
c06a8c6d4c80e8f51b9f5d9a8cc77377f1f2cb05 | Java | kyledhebert/CriminalIntent | /app/src/main/java/com/kylehebert/criminalintent/CrimeListFragment.java | UTF-8 | 5,336 | 2.671875 | 3 | [] | no_license | package com.kylehebert.criminalintent;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.... | true |
bb85a2675ee23c3fd2e245689a8c3c627f434795 | Java | diplomit-dtu/diplomBackend | /src/main/java/business/interfaces/ActivityElementController.java | UTF-8 | 329 | 1.921875 | 2 | [] | no_license | package business.interfaces;
import data.dbDTO.CourseActivityElement;
import data.interfaces.PersistenceException;
/**
* Created by Christian on 31-05-2017.
*/
public interface ActivityElementController {
CourseActivityElement getGoogleActivityElement(String googleSheetId) throws ValidException, PersistenceExce... | true |
9f2467631ee9a6837d217e744e20e6c5b6224e9a | Java | sillyemperor/langstudy | /java/vertx-web-demp/src/main/java/net841bc/vertexwebdemo/MyVerticle.java | UTF-8 | 2,035 | 2.609375 | 3 | [
"MIT"
] | permissive | package net841bc.vertexwebdemo;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
import java.io.ByteArrayOutputStream;
import java.io.File;
import javax.imageio.ImageIO;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.DeploymentOptions;
import io.vertx.core.Vertx;
im... | true |
df66f1b171232748cd8fd4d5c936967ff2d590e9 | Java | WangYouzheng1994/hyjf | /hyjf-mybatis/src/main/java/com/hyjf/mybatis/model/auto/BorrowCarinfoExample.java | UTF-8 | 43,658 | 2.203125 | 2 | [] | no_license | package com.hyjf.mybatis.model.auto;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
public class BorrowCarinfoExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
protected int limitStart = -1;
protected i... | true |
ab6349587219b521f584180fa01a294943d884b2 | Java | aaannndddyyy/GAI | /src/main/java/gai/agents/Agent.java | UTF-8 | 2,842 | 2.671875 | 3 | [] | no_license | /*
Copyright (c) 2009
Marcel Hauf <marcel.hauf@googlemail.com>
Robin Vobruba <hoijui.quaero@gmail.com>
This file is part of GAI (Groovy skirmish Artificial Intelligence
for the spring RTS game engine).
GAI is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public Li... | true |
9a87aa01e14cc9ba22174010a7570963e91ab18a | Java | jagfiend/pete_wond_601_sdkd | /pw_android/src/com/wondworks/game/TheGame.java | UTF-8 | 372 | 2.296875 | 2 | [] | no_license | package com.wondworks.game;
import com.wondworks.game.framework.Screen;
import com.wondworks.game.framework.impl.AndroidGame;
public class TheGame extends AndroidGame {
// this class extends the AndroidGame class from the framework...
// and gets the whole thing off the ground...
@Override
public Screen getSta... | true |
1b252304bff61072cdbbb0562b61d141669619c8 | Java | THAMOD/HamodPOS | /app/src/main/java/com/almutarreb/hamodpos/model/USER.java | UTF-8 | 381 | 2.296875 | 2 | [] | no_license | package com.almutarreb.hamodpos.model;
public class USER {
private int id;
private String username ;
private String password;
private String email;
USER(String username,String password,String email)
{
this.username=username;
this.password=password;
this.email=email;
... | true |
93ad1570d8b1aa34fa5bbfe67d5aca1fc31d9493 | Java | Mucosolvan/Forum | /src/main/java/pl/edu/mimuw/forum/ui/controllers/DetailsPaneController.java | UTF-8 | 2,198 | 2.421875 | 2 | [] | no_license | package pl.edu.mimuw.forum.ui.controllers;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import pl.edu.mimuw.forum.ui.models.CommentViewModel;
import pl.edu.mimuw.forum.ui.models.NodeViewModel;
import pl.edu.mimuw.forum.ui.models.SuggestionViewModel;
... | true |
20ac2487aaea9c0950d6222884efbbb62ed1f7ad | Java | P79N6A/icse_20_user_study | /methods/Method_35848.java | UTF-8 | 563 | 2.21875 | 2 | [] | no_license | private HandlebarsOptimizedTemplate getTemplate(final TemplateCacheKey key,final String content){
if (maxCacheEntries != null && maxCacheEntries < 1) {
return new HandlebarsOptimizedTemplate(handlebars,content);
}
try {
return cache.get(key,new Callable<HandlebarsOptimizedTemplate>(){
@Override publ... | true |
6718c6adb09c99ea0ed6314b69d5d299a87c7f17 | Java | ivanknapp/design-patterns | /prototype/src/main/java/com/knappia/prototype/Factory.java | UTF-8 | 142 | 2.21875 | 2 | [] | no_license | package com.knappia.prototype;
public interface Factory {
Mage createMage();
Warrior createWarrior();
Ranger createRanger();
}
| true |
0e4cf22e3bb740d568170027e5caa740dbde7ba6 | Java | inversion-api/inversion-engine | /inversion-module-script/src/main/java/io/inversion/script/velocity/VelocityResourceLoader.java | UTF-8 | 2,001 | 1.828125 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (c) 2015-2019 Rocket Partners, LLC
* https://github.com/inversion-api
*
* 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
*
... | true |
296c10a13bd2a1da29132541e15088583d2567f8 | Java | rkiddy/Orange | /Sources/com/webobjects/webservices/support/_private/WOWSSupport.java | UTF-8 | 1,467 | 1.601563 | 2 | [] | no_license |
package com.webobjects.webservices.support._private;
import com.webobjects.eocontrol.*;
import com.webobjects.foundation.*;
import com.webobjects.webservices.support.xml.*;
import java.util.*;
import javax.xml.namespace.QName;
import javax.xml.rpc.encoding.DeserializerFactory;
import javax.xml.rpc.encoding.Serializer... | true |
fd045fee994eb1d0ca21e682a77aeb35396bf1a2 | Java | kietly/coalesce | /src/Coalesce.Framework.Persister.Elasticsearch/src/main/java/com/incadencecorp/coalesce/framework/persistance/elasticsearch/mappers/StoredProcedureArgumentMapper.java | UTF-8 | 2,427 | 2.03125 | 2 | [] | no_license | /**
* ///-----------SECURITY CLASSIFICATION: UNCLASSIFIED------------------------
* /// Copyright 2016 - Lockheed Martin Corporation, All Rights Reserved /// ///
* Notwithstanding any contractor copyright notice, the government has ///
* Unlimited Rights in this work as defined by DFARS 252.227-7013 and ///
* 252.... | true |
f26daf12d29063449da395bf06b46e491bfcf936 | Java | sengeiou/boot-project | /boot-tyb/src/main/java/com/xzm/tyb/service/imp/UserServiceImp.java | UTF-8 | 6,794 | 2.125 | 2 | [] | no_license | package com.xzm.tyb.service.imp;
//import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.xzm.tyb.common.base.BaseServiceImpl;
import com.xzm.tyb.common.exception.... | true |
a31dd007c56c1824568cf5b7bf520eec5a784e45 | Java | vudph/CodeJam | /src/leetcode/MergeIntervals.java | UTF-8 | 2,817 | 3.625 | 4 | [] | no_license | package leetcode;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
/*
https://leetcode.com/problems/merge-intervals/
Given a collection of intervals, merge all overlapping intervals.
Example 1:
Input: [[1,3],[2,6],[8,10],[15,18... | true |
e7d1c02ee0fea5523d88fce672ca9bff137004f6 | Java | yhh5158/mokeys | /app/src/main/java/com/room/mokeys/net/MokeysAuthenticationService.java | UTF-8 | 655 | 1.84375 | 2 | [
"MIT"
] | permissive | package com.room.mokeys.net;
import com.room.mokeys.model.MokeysListModel;
import com.room.mokeys.model.VerificationCodeInfo;
import io.reactivex.Flowable;
import retrofit2.http.POST;
import retrofit2.http.Query;
/**
* Created by wanglei on 2016/12/31.
*/
public interface MokeysAuthenticationService {
@POST(... | true |
f7817c46199ea75975e1cde5b8acd637fd76c046 | Java | 976112643/xyj_apk | /app/src/main/java/com/mikuwxc/autoreply/common/util/Logger.java | UTF-8 | 2,085 | 2.546875 | 3 | [] | no_license | package com.mikuwxc.autoreply.common.util;
import android.util.Log;
/**
* Created by l2yc on 2017/7/3.
* TODO
*/
public class Logger {
/**
* whether print log info
*/
public final static boolean weatherPrint = true;
// public final static boolean weatherPrint = false;//打包去掉log
static Strin... | true |
bee5f62dba5cef2e00015f0fd24d248f2da75c74 | Java | bertonefederico1/tpjavaweb | /TPJAVA/src/logica/ControladorVehiculo.java | UTF-8 | 1,048 | 2.3125 | 2 | [] | no_license | package logica;
import java.util.ArrayList;
import datos.DatosVehiculo;
import entidades.Auto;
public class ControladorVehiculo {
DatosVehiculo dv;
public ControladorVehiculo(){
dv = new DatosVehiculo();
}
public void modificarVehiculo(Auto auto, String patente_original) throws Exception{
... | true |
21bc878a2cb87936f302dc168059789c6e111ac9 | Java | tianshiyeben/wgcloud | /wgcloud-server/src/main/java/com/wgcloud/service/AppStateService.java | UTF-8 | 2,229 | 2.015625 | 2 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | package com.wgcloud.service;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.wgcloud.entity.AppState;
import com.wgcloud.mapper.AppStateMapper;
import com.wgcloud.util.DateUtil;
import com.wgcloud.util.UUIDUtil;
import org.springframework.beans.factory.annotation.Autowired;
i... | true |
4555edb8f50488985308dbb27ec4cbca63cd66b9 | Java | fanjiuyi/sh | /sh-parent/sh-test/src/main/java/com/sh/test/core/http/HttpUtils.java | UTF-8 | 3,578 | 2.5625 | 3 | [] | no_license | package com.sh.test.core.http;
import com.alibaba.fastjson.JSONObject;
import com.sh.test.core.config.Constants;
import com.sh.test.core.util.LogHelper;
import com.sh.utils.common.StringUtils;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.client.HttpClient;
import or... | true |
4d0e3617d3ae87bc8cccabc16e2778e3c3e7a3fb | Java | Catfeeds/myWorkspace | /hlj_android_merchant/src/main/java/com/hunliji/marrybiz/adapter/tools/viewholder/CheckShopViewHolder.java | UTF-8 | 3,672 | 2.046875 | 2 | [] | no_license | package com.hunliji.marrybiz.adapter.tools.viewholder;
import android.content.Context;
import android.support.v4.content.ContextCompat;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.hunliji.hljcommonlibrary.adapters.BaseViewHolder;
import com.hunliji.hljcommonli... | true |
c9d5fac6bf85a5aed1c000e94dd9e68f31736bb6 | Java | ecformoso/k-pax | /src/main/java/uoc/edu/svrKpax/bussines/DeveloperBO.java | UTF-8 | 315 | 1.53125 | 2 | [] | no_license | package uoc.edu.svrKpax.bussines;
//import java.util.List;
//import uoc.edu.svrKpax.vo.Developer;
public interface DeveloperBO {
public boolean setDeveloper(String campusSession, int idgame, int idplatform, int idowner, int idstate);
public Boolean delGameDeveloped(String campusSession, int idGame);
}
| true |
587e47ded440d8cc99ae35d94c537b88136b9fcc | Java | MisterDFG27/Proyecto-Ferreteria | /src/Login/Correo.java | UTF-8 | 10,985 | 2.140625 | 2 | [] | no_license | package Login;
import com.mysql.jdbc.Connection;
import com.sun.mail.handlers.multipart_mixed;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.util.Properties;
import java.util.logging.Level;
import java.util.logging.Logger;
i... | true |
ca6b9dae66721ebb676f1a54de2f7125a3d5fe06 | Java | dxzxy12138/Schedule | /app/src/main/java/com/example/schedule/ToDoAdapter.java | UTF-8 | 3,676 | 2.15625 | 2 | [] | no_license | package com.example.schedule;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.CompoundButton;
import android.widget.LinearLayout... | true |
600f3bc08ea94b81c9e2d8ec05569ad6e31c6b99 | Java | Kenadia/Pattern-Puzzle | /src/PuzzlePanel.java | UTF-8 | 5,154 | 2.875 | 3 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package patternpuzzle;
import javax.swing.*;
import java.awt.*;
import java.util.*;
import java.awt.event.*;
import java.awt.color.*;
/**
*
* @author kenschiller
*/
public class PuzzlePanel extends JPanel implement... | true |
7b54604fab3caba7f15fe241a9ea8d4340aeee04 | Java | elegantyuanjian/ActiveMQCluster | /ActiveMQMonitor/src/main/java/iie/logcabin/brokermonitor/controllerlink/ControllerLinkMinaClientHandler.java | UTF-8 | 2,587 | 2.234375 | 2 | [] | no_license | /**
*
*/
package iie.logcabin.brokermonitor.controllerlink;
import iie.logcabin.brokermonitor.brokerinfo.BrokerBeanFactory;
import iie.logcabin.brokermonitor.crypto.CryptoFactory;
import iie.logcabin.brokermonitor.type.ControllerType;
import iie.logcabin.brokermonitor.type.ServerType;
import iie.logcabin.clustercon... | true |
a53a48c293f5bcf93f861010a2ddd13541f113d1 | Java | ZsZs/WorklogEraser | /production/src/test/java/com/kn/jira/worklogeraser/domain/ServiceInvocationMatchingStrategyTest.java | UTF-8 | 969 | 1.96875 | 2 | [] | no_license | package com.kn.jira.worklogeraser.domain;
import static org.mockito.Matchers.anyObject;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
import org.junit.Test;
import com.atlassian.jira.rest.client.api.domain.Worklog;
public class ServiceInvocationMatchingStrategyTest ext... | true |
f40e1842440b4f0f2fae518d10aec95a69a67efe | Java | ErwanSvl/INF111 | /td1/userMarks.java | UTF-8 | 646 | 3.375 | 3 | [] | no_license | import java.util.*;
/**
* userMarks
*/
public class userMarks {
public static void main(String[] args) {
Mark[] mathMarks;
System.out.println("Initialisation du tableau des resultats en Mathematique");
mathMarks = MarksManagement.initialize();
MarksManagement.inputMarks(mathMarks... | true |
8542c05fdc1f1dd513c62056ddc6ca74a1b6a958 | Java | contazul/appcontazul | /app/src/main/java/br/com/appcontazul/rest/teste/ListaLucroMensalRepository.java | UTF-8 | 2,311 | 2.296875 | 2 | [] | no_license | package br.com.appcontazul.rest.teste;
import java.util.ArrayList;
import java.util.List;
import br.com.appcontazul.rest.model.ListaLucroMensal;
public class ListaLucroMensalRepository {
List<ListaLucroMensal> listaLucroMensal;
public ListaLucroMensalRepository(){
this.listaLucroMensal = new Array... | true |
c8d7d59902b7ed3badf351c7b27f852af76a0ebd | Java | cckmit/Nuclos | /nuclos-client/src/main/java/org/nuclos/client/layout/wysiwyg/editor/util/valueobjects/layoutmlrules/LayoutMLRule.java | UTF-8 | 7,283 | 1.984375 | 2 | [] | no_license | //Copyright (C) 2010 Novabit Informationssysteme GmbH
//
//This file is part of Nuclos.
//
//Nuclos is free software: you can redistribute it and/or modify
//it under the terms of the GNU Affero General Public License as published by
//the Free Software Foundation, either version 3 of the License, or
//(at your option... | true |
6483688eae4a3831ed033eaab1b26caf73603699 | Java | goodwinn11/core-java | /src/main/java/vol1/chap11/sec03/MouseFrame.java | UTF-8 | 321 | 2.484375 | 2 | [] | no_license | /*
* Chapter 11 Event Handling
* Section 3 Mouse Events
*/
package vol1.chap11.sec03;
import javax.swing.*;
/**
* A frame containing a panel for testing mouse operations
* @author emaphis
*/
public class MouseFrame extends JFrame {
public MouseFrame() {
add(new MouseComponent());
pack();
}
}... | true |
069f7f768dc3f00b1a45fb9a6d9d566ab3c657b1 | Java | ashu-automationLabs/SeleniumCode | /src/day6/JdbcConnection.java | UTF-8 | 955 | 2.921875 | 3 | [] | no_license | package day6;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import com.mysql.cj.jdbc.MysqlDataSource;
public class JdbcConnection {
public static String dbconnection(String Query,String Colomn) throws SQLException {
//1.Configuration of your DB... | true |
fdfc3e22e958da51ebe90321cdfed90166d39d77 | Java | chriszh123/myspringmvc | /src/main/java/com/zgf/spring/transaction/handlewrite/Test.java | UTF-8 | 1,455 | 2.46875 | 2 | [] | no_license | /**
* Copyright (C) 2006-2017 Wisedu All rights reserved
* Author:zhangguifeng
* Date:2018/9/28
* Description: Test
*/
package com.zgf.spring.transaction.handlewrite;
import org.apache.commons.dbcp.BasicDataSource;
/**
* Spring事务设计思想之手写实现
*
* @author zhangguifeng
* @create 2018-09-28 15:22
**/
public class ... | true |
e8d97760b0320afa7de76f2dd1f805965aff805b | Java | zhangmengxiang/smfilm | /smfilm/src/main/java/com/shimeng/smfilm/controller/FilmSourceController.java | UTF-8 | 6,461 | 2.109375 | 2 | [] | no_license | package com.shimeng.smfilm.controller;
import com.alibaba.fastjson.JSONObject;
import com.shimeng.smfilm.common.BaseResp;
import com.shimeng.smfilm.common.StatusMessage;
import com.shimeng.smfilm.model.entity.FilmSource;
import com.shimeng.smfilm.model.req.QueryVideoUrlReq;
import com.shimeng.smfilm.model.resp.MuObjec... | true |
bf50b9c438b6628316a6ae81aa1a703159bff3f7 | Java | Aeriales/Projets-Java | /Jeu/src/com/main/comportement/CombatLunette.java | UTF-8 | 187 | 2.25 | 2 | [] | no_license | package com.main.comportement;
public class CombatLunette implements EspritCombatif {
public void combat(){
System.out.println("Attaque au fusil à lunette");
}
}
| true |
74d9ffc5829025d6e7177ff784dd5a202342a671 | Java | maximerchrd/learning_tracker | /app/src/main/java/com/LearningTracker/LearningTrackerApp/Activities/ExerciseActivity.java | UTF-8 | 4,028 | 2.34375 | 2 | [] | no_license | package com.LearningTracker.LearningTrackerApp.Activities;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.wid... | true |
9f30defbd471770605b09b863ade7cb48d1261a6 | Java | tomsonpe/Assignment6_2 | /Assignment6_2/Assignment_6_2/app/src/main/java/com/assignment_6_2/factory/customerFactory/GraduationCerFactory.java | UTF-8 | 731 | 2.65625 | 3 | [] | no_license | package com.assignment_6_2.factory.customerFactory;
import com.assignment_6_2.domain.customer.GraduationCeremony;
/**
* Created by Phinda Encore Tomson on 4/17/2016.
*/
public class GraduationCerFactory {
public static GraduationCerFactory graduate=null;
public GraduationCerFactory(){
}
public stat... | true |
59ac07e4916dbcd6f4de598dc094e7aab7396512 | Java | m4mousa/erp | /src/main/java/com/newage/erp/core/services/IdentityStoreImpl.java | UTF-8 | 2,264 | 2.234375 | 2 | [
"Apache-2.0"
] | permissive | package com.newage.erp.core.services;
import com.newage.erp.security.entities.SecurityUser;
import com.newage.erp.security.services.UserService;
import java.util.HashSet;
import java.util.Objects;
import java.util.Set;
import javax.enterprise.context.RequestScoped;
import javax.faces.context.FacesContext;
import javax... | true |
eec6dfaf29ee2a1a7211cf855cfade5bc1c95fa8 | Java | Ethen80/TankWar | /MapEditor2/PanelIcon.java | UTF-8 | 2,420 | 2.890625 | 3 | [] | no_license | package MapEditor2;
import javax.swing.*;
import javax.swing.border.EtchedBorder;
import java.awt.*;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.util.ArrayList;
public class PanelIcon extends JPanel implements MouseListener {
private FrameMain frameMain;
private ArrayLis... | true |
17364a203dc8ab39bed6a87ff6d09af43607898b | Java | novb1492/studyJavaFx | /src/new2/quiz4.java | UTF-8 | 1,289 | 2.703125 | 3 | [] | no_license | package new2;
import javafx.application.Application;
import javafx.event.Event;
import javafx.event.EventHandler;
import javafx.geometry.Insets;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.image.ImageView;
import javafx.scene.layout.FlowPane;
import javafx.scene.layout.HBox;
impor... | true |
d55552efa1c7e134e81bc3df4abc796af7c214b8 | Java | Phantoms007/zhihuAPK | /src/main/java/com/zhihu/android/app/event/CashierPayResult.java | UTF-8 | 1,771 | 1.945313 | 2 | [] | no_license | package com.zhihu.android.app.event;
import com.secneo.apkwrapper.C6969H;
import java.util.HashSet;
import java8.util.C32474u;
public class CashierPayResult extends CommonPayResult {
public CashierPayResult(int i, String str, String str2) {
this.skuId = str2;
this.status = i;
this.message ... | true |
94127f8d5ffac30fa0d0869e223735302459bd90 | Java | jessmcmorrow/scatterplot | /FrameTest.java | UTF-8 | 4,748 | 2.953125 | 3 | [] | no_license | import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.io.BufferedReader;
i... | true |
897be1ccaa3ba10128525312eabc22da09f66c00 | Java | h599026/Skulekode | /Eclipse workspace/Skuleproeve 2021 September/src/no/hvl/dat100/O1c.java | UTF-8 | 288 | 2.328125 | 2 | [] | no_license | package no.hvl.dat100;
public class O1c {
public static String numInLetters(int a) {
switch(a) {
case 0:
return "null";
case 1:
return "ein";
case 2:
return "to";
case 3:
return "tre";
case 4:
return "fire";
default:
return "ulovlig verdi";
}
}
}
| true |
2741c36d6f6d178cca87b1facaab2077f6e3e11d | Java | zhanghy525/iJava | /Spring framework/proxy/src/com/etoak/bean/User.java | UTF-8 | 315 | 2.546875 | 3 | [] | no_license | package com.etoak.bean;
public class User implements IUser {
@Override
public String add(String id, String name) {
System.out.println("ID:" + id);
System.out.println("名称:" + name);
return id + "|" + name;
}
@Override
public void del() {
System.out.println("执行删除操作!!");
}
}
| true |
9b012998fe5273b6dcc163f7683af29677d858f5 | Java | sithu/http-hystrix | /src/test/java/com/intuit/payments/http/util/HystrixLogTest.java | UTF-8 | 5,196 | 2.125 | 2 | [] | no_license | /**
* Copyright 2017 Intuit Inc. All rights reserved. Unauthorized reproduction
* is a violation of applicable law. This material contains certain
* confidential or proprietary information and trade secrets of Intuit Inc.
*/
package com.intuit.payments.http.util;
import com.netflix.hystrix.HystrixCommand;
import c... | true |
f7cf3fe2d9ba0f201dc085e7d44d9a6815e3e13c | Java | xsb1999/HIS_Web | /src/main/java/com/his/his_20184861/mapper/PayMapper.java | UTF-8 | 1,678 | 1.992188 | 2 | [] | no_license | package com.his.his_20184861.mapper;
import com.his.his_20184861.pojo.po.Medicine;
import com.his.his_20184861.pojo.po.Patient;
import com.his.his_20184861.pojo.vo.PayInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import... | true |
ded57073a6ee1180dca77834599da76cdd27f8a3 | Java | kharryman/MadMother | /Screens/GameScreen.java | UTF-8 | 2,330 | 2.5625 | 3 | [] | no_license | package com.lfq.Screens;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Screen;
import com.lfq.GameWorld.GameRenderer;
import com.lfq.GameWorld.GameWorld;
import com.lfq.Helpers.IActivityRequestHandler;
import com.lfq.Helpers.InputHandler;
public class GameScreen implements Screen {
private GameWorld world;
p... | true |
c6291d0f10112f4f65a355fd2165e36376c490f3 | Java | bassem02/packager | /packager/src/main/java/tn/wevioo/packager/dao/ProductModelDao.java | UTF-8 | 303 | 1.828125 | 2 | [] | no_license | package tn.wevioo.packager.dao;
import org.springframework.data.jpa.repository.JpaRepository;
import tn.wevioo.packager.entities.ProductModel;
public interface ProductModelDao extends JpaRepository<ProductModel, Integer> {
public ProductModel findByRetailerKey(String retailerKey);
}
| true |
f6cd835b8a435f99f35e2ce5668654fd68d1779d | Java | Zzhongting/secondHand | /src/main/java/com/zt/service/AdminiService.java | UTF-8 | 719 | 2.09375 | 2 | [] | no_license | package com.zt.service;
import com.zt.pojo.Admini;
import java.io.InputStream;
import java.util.List;
public interface AdminiService {
/*添加管理员*/
public void addAdmin(Admini admin);
/*删除管理员*/
public void deleteAdminByPrimaryKey(String id);
/*修改管理员信息*/
public void updateAdminiByPrimaryKey(Admin... | true |
52cda2f54a6b32299a5c2f9f8fd2d6cbbf036fb5 | Java | ImpStack/jme-utils | /src/test/java/org/impstack/event/EventPublisherTest.java | UTF-8 | 2,274 | 3.5 | 4 | [
"MIT"
] | permissive | package org.impstack.event;
public class EventPublisherTest {
public static void main(String[] args) {
EventPublisherTest test = new EventPublisherTest();
test.publishEvent();
test.receiveMultipleEvents();
test.receiveMultipleEventsMultiThreaded();
}
private void receiveMu... | true |
f047dd36c9ee8e5efa4e3b51556bc62519cef6f4 | Java | Daboombastik/Accounts | /src/main/java/fr/shcherbakov/countservice/CountServiceApplication.java | UTF-8 | 1,506 | 2.109375 | 2 | [] | no_license | package fr.shcherbakov.countservice;
import fr.shcherbakov.countservice.entities.Account;
import fr.shcherbakov.countservice.entities.enums.AccountType;
import fr.shcherbakov.countservice.repositories.AccountRepository;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.CommandL... | true |
bbdec945db2a8a2ec29fb09a7b28cecebfc513f9 | Java | kusum02/Amazon | /src/script/ShoePageDisplay.java | UTF-8 | 478 | 2.109375 | 2 | [] | no_license | package script;
import org.testng.annotations.Test;
import generic.BaseTest;
import pom.HomePage;
import pom.ShoePage;
public class ShoePageDisplay extends BaseTest {
@Test(priority=1)
public void testShoePageDisplay(){
HomePage h=new HomePage(driver);
//Enter Shoes in search box
h.enterSearchBox("Sho... | true |
8199d6c57c13240631c6e4ce9eebb53d80c77f0b | Java | iamanegi/TaskApp | /app/src/main/java/com/aman/taskapp/network/ApiInterface.java | UTF-8 | 285 | 1.757813 | 2 | [] | no_license | package com.aman.taskapp.network;
import com.aman.taskapp.model.Product;
import java.util.List;
import retrofit2.Call;
import retrofit2.http.GET;
public interface ApiInterface {
@GET("http://www.mocky.io/v2/5d15fc1b0e00003311a1167a")
Call<List<Product>> getProducts();
}
| true |
ddb3298cffdaf3578c6340c91a342e532cff012b | Java | bardhkrasniqi/ParkingFinder | /app/src/main/java/com/parking/bardh/parkingfinder/LoginActivity.java | UTF-8 | 7,251 | 2.265625 | 2 | [] | no_license | package com.parking.bardh.parkingfinder;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.text.TextUtils;
import android.util.Log;
import android.util.Patterns;
import android.view.View;
import android.widget.But... | true |
8ad5a323562f38121ba518b7595c72de1c85d2e3 | Java | q945467717/gas | /src/main/java/com/wis/service/impl/GasApiServiceImpl.java | UTF-8 | 21,256 | 1.804688 | 2 | [] | no_license | package com.wis.service.impl;
import com.alibaba.fastjson.JSONObject;
import com.wis.dto.CheckedDateDTO;
import com.wis.exception.SceneNotFindException;
import com.wis.mapper.*;
import com.wis.pojo.po.*;
import com.wis.pojo.vo.*;
import com.wis.service.GasApiService;
import com.wis.utils.CheckDataStatusUtil;
import co... | true |
69fa4c66ac4326bf6d66ee8058c6e6e40b1874d7 | Java | SUMENGZHANG/CRM01 | /src/main/java/org/example/crm/dao/UserMapper.java | UTF-8 | 212 | 1.617188 | 2 | [] | no_license | package org.example.crm.dao;
import org.example.base.BaseMapper;
import org.example.crm.vo.User;
public interface UserMapper extends BaseMapper<User,Integer> {
User queryUserByUserName(String userName);
} | true |
6fb12edddd624b4b37eaf8280b190bd6941db26f | Java | grondag/Exotic-Matter | /src/main/java/grondag/exotic_matter/block/BlockHarvestTool.java | UTF-8 | 681 | 2.453125 | 2 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown"
] | permissive | package grondag.exotic_matter.block;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import net.minecraft.util.IStringSerializable;
public enum BlockHarvestTool implements IStringSerializable
{
ANY(null),
PICK("pickaxe"),
AXE("axe"),
SHOVEL("shovel");
/**
* String MC ... | true |
ae84f4cf0e5b82c21fe63abe36feacc096afa6f9 | Java | shouwangwm/shouwang | /test/src/test/FileTest2.java | GB18030 | 2,222 | 3.296875 | 3 | [] | no_license | package test;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class FileTest2 {
public static void main(String[] args) {
int count = 0 ;
// ... | true |
c79d15b3d1322cafc6afd7c44149464d26ceb87f | Java | thuptit/cnpm | /QuanLiKetQuaF1/src/DAO/ResultDAO.java | UTF-8 | 3,616 | 2.5 | 2 | [] | 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 DAO;
import static DAO.DAOConnect.cnn;
import Model.RaceModel;
import Model.ResultModel;
import Model.ResultDTO;
import java.s... | true |
77f81d22aaed35458d29123a1486696c1a86da13 | Java | PavelSidorovich/JWDTasks | /src/main/java/com/epam/jwd/quadrangle/action/FigureActions2D.java | UTF-8 | 3,123 | 2.921875 | 3 | [] | no_license | package com.epam.jwd.quadrangle.action;
import com.epam.jwd.quadrangle.model.Figure;
import com.epam.jwd.quadrangle.model.MathVector;
import com.epam.jwd.quadrangle.model.Point;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.util.List;
/**
* The {@code FigureActions2... | true |
991867077f3433bf1dffbdc09f7d370dcfc47757 | Java | karreypradeep/NeedTrunk | /trunk/NeEDApp/src/main/java/com/apeironsol/need/core/dao/StudentRegistrationDaoImpl.java | UTF-8 | 3,159 | 2.15625 | 2 | [] | no_license | /**
* This document is a part of the source code and related artifacts for
* SMSystem.
* www.apeironsol.com
* Copyright © 2012 apeironsol
*
*/
package com.apeironsol.need.core.dao;
import java.util.Collection;
import javax.persistence.TypedQuery;
import org.springframework.stereotype.Repository;
import com.a... | true |
7cc52090880505e76dd75dfebafd61a866795024 | Java | CnPeAg/Android-Application-development | /code/Chapter-10/bitmapDemo/app/src/main/java/com/example/bitmapdemo/surfaceView.java | UTF-8 | 2,408 | 2.625 | 3 | [] | no_license | package com.example.bitmapdemo;
import java.io.InputStream;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.drawable.BitmapDrawable;
import android.view.MotionEvent;
... | true |
fd02717aa6fc5c810a073b3ddae9bf3177cf98a0 | Java | RazAfr/ICM-1 | /ICM-Project/src/LogicController/EvaluationReportController.java | UTF-8 | 597 | 2.109375 | 2 | [] | no_license | package LogicController;
import java.util.ArrayList;
import Utilities.MessageObject;
import Utilities.RequestType;
import client.Client;
public class EvaluationReportController extends BaseController {
public void sendReportToServer(String description, String constraints, String result,String requestID) {
ArrayL... | true |
45d28a0bbca9644de6eef55e90069e919fbca986 | Java | luontola/misc-tools | /src/main/java/net/orfjackal/experimental/nineplaces/Diagram.java | UTF-8 | 4,046 | 2.671875 | 3 | [] | no_license | /*
* Copyright (c) 2008, Esko Luontola. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of c... | true |
5c48002ab89fbc416a36cd10946991a22fd93920 | Java | rclaros/fibonacci-optimizacion | /src/main/java/com/rclaros/algoritmo/Fibonacci.java | UTF-8 | 1,179 | 3.609375 | 4 | [] | no_license | package com.rclaros.algoritmo;
import com.google.common.base.Stopwatch;
import java.util.concurrent.TimeUnit;
/**
*
* @author RCLAROS
*/
public class Fibonacci {
public static void main(String[] args) {
long N = 80;
Stopwatch stopwatch = Stopwatch.createStarted();
for (in... | true |
5d57a49fb837722bd9a6d3f718ff4dab4610c862 | Java | michaelmegliola/pinball | /src/org/jarclassloader/LoadClass.java | UTF-8 | 1,419 | 2.8125 | 3 | [
"Apache-2.0",
"MIT"
] | permissive | package org.jarclassloader;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
public class LoadClass {
private Object playerObject;
public LoadClass(String playerClassName, String te... | true |
9ad4a0803055dd8c1a306c2a51d0803a02618982 | Java | PavelStart/TestPokupon | /app/src/main/java/com/example/pavel/testpokupon/views/MainActivity.java | UTF-8 | 5,064 | 1.960938 | 2 | [] | no_license | package com.example.pavel.testpokupon.views;
import android.content.Context;
import android.content.res.Configuration;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.support.design.widget.BaseTransientBottomBar;
import android.support.design.widget.Snackbar;
import androi... | true |
9d2e4c15c31e33918cd009f8eed5f22640f876aa | Java | IridiumIguana/AdventOfCode2020Day20 | /src/adventofcode2020day20/AdventOfCode2020Day20.java | UTF-8 | 1,092 | 2.71875 | 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 adventofcode2020day20;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java... | true |
2f311eb678b0306ab95950f3bdf14fcca083d89c | Java | schust3r/weather-network | /src/gui/Estadisticas.java | UTF-8 | 18,227 | 2.421875 | 2 | [] | 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 gui;
import model.StatsManager;
/**
* pantalla de estadísticas
* @author Ronald
*/
public class Estadisticas extends java... | true |
54a25c8757d5a9e749017961e364b6cdeda1e321 | Java | motechs2016/MovieTickesSnapSystem | /src/test/java/lab/io/rush/dao/impl/SnapRecordDaoImplTest.java | UTF-8 | 1,993 | 2.109375 | 2 | [] | no_license | package lab.io.rush.dao.impl;
import lab.io.rush.dao.SnapRecordDao;
import lab.io.rush.pojo.SnapRecord;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.t... | true |
68854b4347d2dd2633c61476a40f6a9a451060ef | Java | cigink/RestfulWebservices | /buildit/src/main/java/buildit/models/PoStatus.java | UTF-8 | 204 | 1.71875 | 2 | [] | no_license | /**
*
*/
package buildit.models;
/**
* @author Vinod Rockson
*
*/
public enum PoStatus {
PENDING_CREATE, PENDING_CONFIRMATION, CLOSED, ACCEPTED, REJECTED, PENDING_UPDATE, CANCELLED, PENDING_UPDATES;
}
| true |
ef0a10a4a0c2bb38cd97f6f52df194706c214f45 | Java | gabizou/Almura | /src/main/java/com/almuradev/almura/client/gui/util/ExternalIcon.java | UTF-8 | 1,849 | 2.171875 | 2 | [] | no_license | /**
* This file is part of Almura, All Rights Reserved.
*
* Copyright (c) 2014 - 2017 AlmuraDev <http://github.com/AlmuraDev/>
*/
package com.almuradev.almura.client.gui.util;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.malisis.core.renderer.icon.MalisisIcon;
import net... | true |
e55b3315a29703d6198f04ada9bc4919ed79b7df | Java | mdht/mdht-models | /generated/org.openhealthtools.mdht.uml.cda.vsdr/src/org/openhealthtools/mdht/uml/cda/vsdr/DateandTimeofDeath.java | UTF-8 | 6,187 | 1.570313 | 2 | [] | no_license | /**
*/
package org.openhealthtools.mdht.uml.cda.vsdr;
import java.lang.Iterable;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.mdht.emf.runtime.util.Initializer;
import org.eclipse.mdht.uml.cda.Observation;
/**
* <!-- begin-user-d... | true |
a618262d26b68e506d13abb1153477e153a16487 | Java | TiagoKaska/unic | /src/main/java/com/unic/unic/UnicApplication.java | UTF-8 | 301 | 1.59375 | 2 | [
"MIT"
] | permissive | package com.unic.unic;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class UnicApplication {
public static void main(String[] args) {
SpringApplication.run(UnicApplication.class, args);
}
}
| true |
5282d1e7d24b293f36231643806b1eb9b87d68de | Java | puredanger/zippers | /java/src/visitors/AbstractVisitor.java | UTF-8 | 728 | 2.171875 | 2 | [] | no_license | package visitors;
import visitors.domain.Column;
import visitors.domain.CompareCriteria;
import visitors.domain.Concat;
import visitors.domain.Filter;
import visitors.domain.Join;
import visitors.domain.Project;
import visitors.domain.Table;
import visitors.domain.Value;
public class AbstractVisitor implements Visito... | true |
cccfaef57fbe4caedfacc1ed3ec63990ea5227df | Java | bellmit/medas-iot-assets | /medas-iot-assets/assets-admin/src/main/java/com/foxconn/iot/assets/component/AuthenticationFacade.java | UTF-8 | 1,526 | 2.15625 | 2 | [] | no_license | package com.foxconn.iot.assets.component;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.stereotype.Component;
import com.foxconn.iot.assets.bo.AdminUserDetails;
@Component
public class Authenticatio... | true |
d43c9092bb4400278277e402e2f728b3485a9dcf | Java | Areeb-510/WomenSecurityApp | /app/src/main/java/com/example/womentrident/MapsActivity.java | UTF-8 | 8,622 | 2 | 2 | [] | no_license | package com.example.womentrident;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.core.app.ActivityCompat;
import androidx.fragment.app.FragmentActivity;
import android.Manifest;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
i... | true |
22ad2821d323d6807042590553eb372888690ed8 | Java | RyanLynar/Assign3-OO | /A3/src/databaseaccess/DatabaseAccess.java | UTF-8 | 1,417 | 3.078125 | 3 | [] | no_license | package databaseaccess;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.Properties;
import com.mysql.jdbc.Driver;
public class DatabaseAccess {
public static String server = "mysql";
public static String port = "3306";
public static String user = "root";
... | true |
365dd98b11ea006191027bcaa6e3062e6a5bd0d0 | Java | komal8111/SpringForm | /Employee/java/com/example/demo/EmpController.java | UTF-8 | 1,296 | 2.28125 | 2 | [] | no_license | package com.example.demo;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.Req... | true |
dbed3d7f5888731c27cb3254221ecb51a58c0cbc | Java | venasolutions/vena-etl-tool | /src/test/java/org/vena/etltool/tests/ETLToolLoadStepsTest.java | UTF-8 | 4,340 | 2.4375 | 2 | [] | no_license | package org.vena.etltool.tests;
import static org.junit.Assert.assertEquals;
import java.io.File;
import java.io.UnsupportedEncodingException;
import java.util.Arrays;
import java.util.HashSet;
import org.junit.Test;
import org.vena.etltool.ETLClient;
import org.vena.etltool.Main;
import org.vena.etltool.entities.*;... | true |
b6f14d71ff1ddca70a372a18f01f1ce1cfc2a73d | Java | Clinacuity/etude-viewer | /src/main/java/com/clinacuity/acv/controllers/ConfigurationBuilderController.java | UTF-8 | 8,907 | 2.203125 | 2 | [
"Apache-2.0"
] | permissive | package com.clinacuity.acv.controllers;
import com.clinacuity.acv.context.AcvContext;
import com.clinacuity.acv.controls.AnnotationDropBox;
import com.clinacuity.acv.controls.AnnotationTypeDraggable;
import com.clinacuity.acv.tasks.CreateAnnotationDraggableTask;
import com.clinacuity.acv.tasks.SaveConfigurationTask;
i... | true |
579415412c855714bb7f2e9c81741585b5eda3d5 | Java | chao520ruirui/tchao_blog | /src/main/java/com/itchao/tchao_blog/pojo/Article.java | UTF-8 | 12,950 | 2.0625 | 2 | [] | no_license | package com.itchao.tchao_blog.pojo;
import java.io.Serializable;
import java.util.Date;
public class Article implements Serializable {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column article.id
*
* @mbggenerated
*/
private Integer i... | true |