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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
cbf834de24f609aec958404fb7189c410e3ee6a1 | Java | microideal/shiro | /src/main/java/com/microideal/shiro/queryobject/AdminForm.java | UTF-8 | 361 | 1.859375 | 2 | [] | no_license | package com.microideal.shiro.queryobject;
import com.microideal.shiro.model.Admin;
/**
* Created by Administrator on 2016/9/20.
*/
public class AdminForm extends BaseForm {
private Admin entity = new Admin();
public Admin getEntity() {
return entity;
}
public void setEntity(Admin entity) ... | true |
4c2a901b8ec914ac5a3ebc1220596cbeb85c0db4 | Java | tasabry12/JavaCarm01Esercizi | /JavaCarm01Esercizi/src/Motorino.java | UTF-8 | 468 | 2.9375 | 3 | [] | no_license |
public class Motorino {
String colore;
float velocita;
String tipo;
boolean antifurto=false;
public Motorino(String colore, float velocita, String tipo) {
this.colore = colore;
this.velocita = velocita;
this.tipo = tipo;
}
public float getVelocita() {
return velocita;
}
public ... | true |
34c1661e1f4b9a3450844cb085583170ca3d7fda | Java | martinvale/shopadmin | /src/main/java/com/ibiscus/shopnchek/application/shopmetrics/ImportShopmetricsService.java | UTF-8 | 7,080 | 1.984375 | 2 | [] | no_license | package com.ibiscus.shopnchek.application.shopmetrics;
import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
import org.ap... | true |
29b9d845a62dd38a7e4481377de3c8071c1e2a9b | Java | joaovmoura/Curso-Nelio-Alves | /Código/Curso Nelio Alves/Matriz/src/ExProposto.java | UTF-8 | 1,404 | 3.46875 | 3 | [] | no_license | import java.util.Scanner;
public class ExProposto {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.println("Qual o número de linhas?");
int linhas = sc.nextInt();
System.out.println("Qual o número de colunas?");
int colunas = sc.next... | true |
caa2d602e7b1483613b9162431a688562b0bec23 | Java | lbrtbdn/pfc | /src/cat/uab/pfc/agp/helpdeskmanager/model/Incidencia.java | UTF-8 | 1,267 | 2.09375 | 2 | [] | no_license | package cat.uab.pfc.agp.helpdeskmanager.model;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class Incidencia {
private long id;
private Estat estat;
private String assumpte;
private Date data;
private String tipus;
private String creador;
private String assign... | true |
8d22ebddc1310ae0d782c82726ebc233a8836504 | Java | gldpi2/gldpi2 | /GLD/gld/src/dao/MensurationDAO.java | UTF-8 | 1,983 | 2.625 | 3 | [] | no_license | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package dao;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import model.Mensuration;
import utils.DatabaseInterface;
/**
*
* @author Matheus
* Esta class... | true |
f55b26b6ef68763fe8724123c10178a925c0b703 | Java | sufadi/decompile-hw | /decompile/app/Gallery2/src/main/java/com/amap/api/mapcore/util/gz.java | UTF-8 | 804 | 1.882813 | 2 | [] | no_license | package com.amap.api.mapcore.util;
import java.net.Proxy;
/* compiled from: DownloadManager */
public class gz {
private ha a;
private hd b;
/* compiled from: DownloadManager */
public interface a {
void a(Throwable th);
void a(byte[] bArr, long j);
void d();
void e... | true |
feb1c37039cc89bc37b911275e5533c5bbe02bc5 | Java | Gustavokovalski/tads-delivery | /src/java/dao/FuncionarioDAO.java | UTF-8 | 3,303 | 2.4375 | 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 java.util.List;
import model.Entrega;
import model.Funcionario;
import org.hibernate.Query;
import org.hibernate.S... | true |
0202ee2682375b3ca9298c49ce7ca1646405e420 | Java | gmpal/Lorenzo-il-Magnifico | /src/main/java/it/polimi/ingsw/GC_24/model/values/SetOfValues.java | UTF-8 | 9,120 | 3.359375 | 3 | [] | no_license | package it.polimi.ingsw.GC_24.model.values;
import java.io.Serializable;
/**
* this class gathers the resources and the points in one single set. It is
* useful when initializing the values of a player and to set the costs and the
* value effects to be removed from or given to the player respectively
*/
public cl... | true |
bb7499bb18e4ba5ec04478ad543a4d67a06e6779 | Java | Santiago-Czop/LifeAgenda | /app/src/main/java/com/czopi/administrador/lifeagenda/TaskActivity.java | UTF-8 | 5,559 | 2.0625 | 2 | [] | no_license | package com.czopi.administrador.lifeagenda;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import andro... | true |
fb6bfc796bd6aa3ea15bd1999c39d7b6bc0490fe | Java | hungnd2126/Capstone | /Android/MVVMProject/app/src/main/java/vn/baonq/mvvmproject/ui/main/more/account/AccountActivityModule.java | UTF-8 | 446 | 1.90625 | 2 | [] | no_license | package vn.baonq.mvvmproject.ui.main.more.account;
import dagger.Module;
import dagger.Provides;
import vn.baonq.mvvmproject.data.DataManager;
import vn.baonq.mvvmproject.utils.rx.SchedulerProvider;
@Module
public class AccountActivityModule {
@Provides
AccountViewModel provideAccountViewModel(DataManager dat... | true |
9d45996511cdf72e51c9d41e2f5cd2b0998113fb | Java | itsubhojit/myMovie | /app/src/main/java/com/example/android/moviequeryapp/adapters/FavoriteMovieAdapter.java | UTF-8 | 2,530 | 2.390625 | 2 | [] | no_license | package com.example.android.moviequeryapp.adapters;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widg... | true |
d8ae9c3bbf8eeef9a9d16ee7aa7c82999762b774 | Java | lcopilot/MyBatis-learn | /day02_eesy_02mybatisDAO/src/main/java/com/itcast/dao/UserDao.java | UTF-8 | 837 | 2.234375 | 2 | [] | no_license | package com.itcast.dao;
import com.itcast.domain.User;
import java.util.List;
/**
* @program: frame
* @auther: MuGe
* @date: 2019/9/25
* @time: 14:00
* @description: 用户持久层接口
*/
public interface UserDao {
/**
* 查询所有用户
*
* @return
*/
List<User> findAll();
/**
* 保存用户
*
* @param user
*/
void s... | true |
086e430d21c997b607e79b0cd50c04e808cb2534 | Java | DeGiorgiS/Workbook | /src/ires/corso/test/Biblioteca.java | UTF-8 | 3,397 | 2.96875 | 3 | [] | no_license | package ires.corso.test;
import java.io.*;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class Biblioteca implements Serializable{
private static Biblioteca _biblio; //un... | true |
77eccbb498e52b9578c97ad9052e54bb83765478 | Java | kwonyounggu/openshift | /src/main/java/com/servlets/PostgresServlet.java | UTF-8 | 858 | 2.046875 | 2 | [] | no_license | package com.servlets;
import java.io.IOException;
import java.util.logging.Logger;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class PostgresServlet extends BaseServl... | true |
34b7f34af01347cc58ec5dd83fe04826b5921cbf | Java | crifan/rcsjta | /core/src/com/gsma/rcs/core/ims/protocol/http/HttpAuthenticationAgent.java | UTF-8 | 6,772 | 2.0625 | 2 | [
"MIT",
"BSD-2-Clause",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"NIST-PD"
] | permissive | /*******************************************************************************
* Software Name : RCS IMS Stack
*
* Copyright (C) 2010-2016 Orange.
* Copyright (C) 2014 Sony Mobile Communications Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compl... | true |
7ca16ea1e4b26f856913cbd129089bc3c6a678b1 | Java | aillusions/02-algorithmic-java | /algoexpert/src/test/java/com/zalizniak/medium/tree/binary/BinaryTreeInverterTest.java | UTF-8 | 869 | 2.890625 | 3 | [] | no_license | package com.zalizniak.medium.tree.binary;
import org.junit.Test;
public class BinaryTreeInverterTest {
@Test
public void shouldInvertBinaryTree() {
BinaryTreeNode n0 = new BinaryTreeNode(0);
BinaryTreeNode n1 = new BinaryTreeNode(1);
BinaryTreeNode n2 = new BinaryTreeNode(2);
... | true |
2ac96119139fc0271566585cb5bdf36fc5e96c0d | Java | Reposoft/repos-testing | /src/main/java/se/repos/testing/indexing/MarkerNodeps.java | UTF-8 | 801 | 2.046875 | 2 | [] | no_license | /**
* Copyright (C) 2004-2012 Repos Mjukvara AB
*/
package se.repos.testing.indexing;
import java.util.Set;
import se.repos.indexing.IndexingItemHandler;
import se.repos.indexing.Marker;
import se.repos.indexing.item.IndexingItemProgress;
public class MarkerNodeps implements Marker {
private Marker actual;
pub... | true |
36c5026f16aec3f4826f18f3adcc826aca2cc903 | Java | Arushdb/Admission_panel_server | /Admission_Panel/src/in/ac/dei/edrp/admissionsystem/admitcard/admitcardController.java | UTF-8 | 2,197 | 1.8125 | 2 | [] | no_license | package in.ac.dei.edrp.admissionsystem.admitcard;
import in.ac.dei.edrp.admissionsystem.Bean.GenerateAdmitCardBean;
import in.ac.dei.edrp.admissionsystem.Bean.admissionBean;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.json.simple.JSO... | true |
f9a5a4d5e974b39199767774c4a6ca2f55890632 | Java | apache/hadoop | /hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/security/client/ClientToAMTokenIdentifier.java | UTF-8 | 3,618 | 1.9375 | 2 | [
"CC-PDDC",
"CC0-1.0",
"CC-BY-3.0",
"LicenseRef-scancode-unknown-license-reference",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"CDDL-1.0",
"GCC-exception-3.1",
"MIT",
"EPL-1.0",
"Classpath-exception-2.0",
"BSD-3-Clause",
"GPL-2.0-only",
"Apache-2.0",
"LicenseRef-scancode-pu... | 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 |
f94fcfa57045d480ae9ca7160d8af775f312380a | Java | RafaelRyo/crudCORBA-29-04-2019 | /src/Registro.java | UTF-8 | 12,620 | 2.453125 | 2 | [] | no_license |
import java.sql.ResultSet;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
/*
* 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.
*/
/**
*
* @author rafae
*/
p... | true |
d0ae76ca0b45c2e246bd5886100370d6dcd4f10b | Java | mydiemho/twitter-client | /app/src/main/java/com/mho/mytwitter/fragments/UserTimelineFragment.java | UTF-8 | 1,199 | 2.21875 | 2 | [] | no_license | package com.mho.mytwitter.fragments;
import com.mho.mytwitter.apps.TwitterApplication;
import android.os.Bundle;
import android.util.Log;
/**
* Created by myho on 7/1/14.
*/
public class UserTimelineFragment extends TweetsListFragment {
private static final String TAG = UserTimelineFragment.class.getSimpleNam... | true |
24a9c324f213929465b55690ba43fc9263425c83 | Java | Sinchaohao/RongSysMedia | /sixin-iot/src/main/java/com/sixin/iot/domain/Met.java | UTF-8 | 1,821 | 2.21875 | 2 | [] | no_license | package com.sixin.iot.domain;
import com.sixin.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.ResponseBody;
/**
* @开发人员: 申超豪
* @开发... | true |
cfda2b8b07a5a68567640d6744ceb4b795d1f373 | Java | tfisher1226/ARIES | /nam/nam-view/src/main/java/nam/ui/Workflow.java | UTF-8 | 347 | 1.625 | 2 | [
"Apache-2.0"
] | permissive | package nam.ui;
import org.aries.runtime.BeanContext;
public class Workflow {
//SEAM @Factory(scope = ScopeType.CONVERSATION)
public Workflow createWorkflow() {
Workflow workflow = new Workflow();
return workflow;
}
public Workflow getWorkflow() {
Workflow workflow = BeanContext.getFromEvent("workflow")... | true |
0a58bda1e0a950df802eff4b10183519681f68a3 | Java | rvarghes/core-platform-service | /ABECore/src/main/java/com/kcdata/abe/application/command/handler/RetrieveInsuranceCommandHandler.java | UTF-8 | 2,710 | 2.234375 | 2 | [] | no_license | /*
* RetrieveInsuranceCommandHandler.java
* Copyright 2009 KCDATA Technologies, Inc. All rights reserved.
******************************************************************************
* M A I N T E N A N C E L O G
*****************************************************************************... | true |
4fa68b6988209d401296eed978fc709267353fe4 | Java | vishaljajerao1210/Ticketing-System | /Copy (3) of ticketingSystem/src/main/java/com/ticketingSystem/entities/ApproverLevel.java | UTF-8 | 1,614 | 2.0625 | 2 | [] | no_license | package com.ticketingSystem.entities;
import java.util.Date;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import jav... | true |
c8fa533fc82f288bbd2a31940e3a050b0125ce74 | Java | sriharshaperi/DataStructures-Java | /src/graph/BFSAdjacencyList.java | UTF-8 | 1,820 | 3.53125 | 4 | [] | no_license | package graph;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
public class BFSAdjacencyList {
public static void main(String[] args) {
List<GraphNode> nodes = new ArrayList<GraphNode>();
AdjacencyListBFS bfs = new AdjacencyListBFS(nodes, 8);
bfs.c... | true |
cc44b3d8006d6b254c55cdbc709d62ed553e341a | Java | Dufler/logica | /it.ltc.logica.ufficio.gui/src/it/ltc/logica/ufficio/gui/handler/UfficioToolbarHandler.java | UTF-8 | 494 | 1.992188 | 2 | [] | no_license |
package it.ltc.logica.ufficio.gui.handler;
import it.ltc.logica.gui.elements.ToolbarHandler;
import it.ltc.logica.utilities.variabili.Permessi;
public class UfficioToolbarHandler extends ToolbarHandler {
private static final String PERSPECTIVE_ID = "it.ltc.logica.ufficio.gui.perspective.ufficio";
@Ov... | true |
f35697021be45e2f6519667dac197e41bec09715 | Java | jmdwjayamaha/note-service | /src/main/java/com/pearson/tutorials/repository/NoteRepository.java | UTF-8 | 280 | 1.648438 | 2 | [] | no_license | package com.pearson.tutorials.repository;
import org.springframework.data.repository.CrudRepository;
import com.pearson.tutorials.model.Note;
/**
* The Interface NoteRepository.
*
* @author Danushka Jayamaha
*/
public interface NoteRepository extends CrudRepository<Note, String> {
} | true |
753844c60b73e71116a1b9f84b5e8128af78c693 | Java | clij/clij2-tests | /src/test/java/net/haesleinhuepf/clij2/plugins/LogarithmTest.java | UTF-8 | 2,000 | 2.4375 | 2 | [
"BSD-3-Clause"
] | permissive | package net.haesleinhuepf.clij2.plugins;
import net.haesleinhuepf.clijx.CLIJx;
import net.haesleinhuepf.clij2.plugins.Logarithm;
import net.haesleinhuepf.clij.clearcl.ClearCLBuffer;
import net.haesleinhuepf.clij.clearcl.ClearCLImage;
import ij.IJ;
import ij.ImagePlus;
import net.haesleinhuepf.clij.test.TestUtilities;
... | true |
5ee2f339723a391f9c4b59d200cc586b3de0c575 | Java | MrGregorix/Gasket | /gasket-inject/src/main/java/net/mrgregorix/gasket/inject/providers/defaults/singletons/SingletonData.java | UTF-8 | 1,520 | 2.28125 | 2 | [
"MIT"
] | permissive | package net.mrgregorix.gasket.inject.providers.defaults.singletons;
import net.mrgregorix.gasket.annotations.fragments.Annotated;
import net.mrgregorix.gasket.inject.condition.ParsedConditionCheckerResult;
import net.mrgregorix.gasket.utils.function.ThrowSupplier;
/**
* Represents singleton injection data
*/
final ... | true |
6552892d6122702382e2fa60817e18f6e6deb788 | Java | yuan50697105/my-admin-2019 | /learning-demo-02/webmvc-app-project/webmvc-app-project-02/src/main/java/org/yuan/boot/webmvc/app/pojo/BaseCustomerInfoExample.java | UTF-8 | 28,542 | 2.1875 | 2 | [] | no_license | package org.yuan.boot.webmvc.app.pojo;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class BaseCustomerInfoExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public BaseCustomerInfoExample() {
oredC... | true |
73eb8804ad1b20c90e5467303ad7d798a2e48208 | Java | GoldKing1983/MyJava | /src/com/interview/leetcode/topic/dfs/WhereWillTheBallFall.java | UTF-8 | 1,717 | 3.765625 | 4 | [] | no_license | package com.interview.leetcode.topic.dfs;
/*
https://leetcode.com/problems/where-will-the-ball-fall/
========================================================Solution Approach========================================================
1) If the "currentPoint"(row,col) is 1 then the "nextPoint" in the sameRow(row,col+1) m... | true |
590288b558420efae4c492e3ce9da13842b125c8 | Java | baigeyt/baige19 | /src/com/hyc/bean/ICCardTime.java | UTF-8 | 622 | 2.1875 | 2 | [] | no_license | package com.hyc.bean;
//刷卡自定义时间实体类
public class ICCardTime {
//刷卡开始时间
String starttime;
//刷卡结束时间
String endtime;
//时间类型
String timetype;
public String getStarttime() {
return starttime;
}
public void setStarttime(String starttime) {
this.starttime = starttime;
}
public String getEnd... | true |
59d65517586c3d621ab3326a0622db345fc3c5d6 | Java | Sanyusha/IH | /code/PieMenu/src/com/example/piemenu/MainActivity.java | UTF-8 | 1,689 | 2.15625 | 2 | [] | no_license | package com.example.piemenu;
import android.app.Activity;
import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.view.Menu;
import android.view.View;
import android.view.View.OnLongClickListener;
import android.widget.RelativeLayout;
public class MainActivity extends Activit... | true |
ac44d23d3e2b1d4533fa718ec8dcea7c46a28802 | Java | Vishnu05/Consulting- | /Akshara/Backend/src/main/java/com/selfrespect/document/repository/EmployeeRepositoryCustom.java | UTF-8 | 121 | 1.78125 | 2 | [] | no_license | package com.selfrespect.document.repository;
public interface EmployeeRepositoryCustom {
public int countCustom();
}
| true |
a3a4629516d118caa14c3a457b62433087016b90 | Java | CoderZxd/DubboLearning | /RpcFramework-Demo/src/main/java/com/zxd/dubbo/learning/rpc.framework/RpcProvider.java | UTF-8 | 464 | 1.96875 | 2 | [] | no_license | package com.zxd.dubbo.learning.rpc.framework;
import java.io.IOException;
/**
* @Project DubboLearning
* @Package com.zxd.dubbo.learning.rpc.framework
* @Author:zouxiaodong
* @Description:
* @Date:Created in 15:54 2018/10/24.
*/
public class RpcProvider {
public static void main(String[] args) t... | true |
b2c234564dbf93ed0ffc33af2e4dd48cbc35d65f | Java | boly38/ma-dem-ae | /mademocratie-gae/src/main/java/net/mademocratie/gae/server/jdo/JdoVoteQueries.java | UTF-8 | 3,682 | 2.125 | 2 | [] | no_license | package net.mademocratie.gae.server.jdo;
import com.google.inject.Inject;
import com.google.inject.Provider;
import net.mademocratie.gae.model.Vote;
import net.mademocratie.gae.server.service.IVote;
import javax.jdo.PersistenceManager;
import javax.jdo.Query;
import java.util.Collection;
import java.util.Li... | true |
9b8efa1c7d7b3de89b01edca3efe67a0711109b1 | Java | JulianDroog/JavaProject | /auto-service/src/main/java/be/thomasmore/autoservice/repository/AutoRepository.java | UTF-8 | 429 | 2.015625 | 2 | [] | no_license | package be.thomasmore.autoservice.repository;
import be.thomasmore.autoservice.entity.Auto;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.data.repository.query.Param;
import java.util.List;
public interface AutoRepository extends MongoRepository<Auto, String> {
Au... | true |
2e5b797d8ec693ac2972a6be929d1495019de7a5 | Java | tppt/HitchHikeRU | /src/model/TimeInterval.java | UTF-8 | 1,569 | 3.484375 | 3 | [] | no_license | package model;
import java.util.Date;
/**
* Class representing a time interval, encapsulating a Date/Time and a deviation about the time
* (i.e. +/- 15 minutes).
*
* @authors Yuriy Garnaev, Andrew Gufford, Prashant Patel, and Thomas Travis
*
*/
public class TimeInterval implements TimeIntervalInterface {
pro... | true |
bcff242eca498b9a73656aefeec6daaa691940bb | Java | greese/dasein-cloud-examples | /src/main/java/org/dasein/cloud/examples/ExampleHelper.java | UTF-8 | 5,701 | 2.359375 | 2 | [
"Artistic-2.0"
] | permissive | /**
* ========= CONFIDENTIAL =========
*
* Copyright (C) 2012 enStratus Networks Inc - ALL RIGHTS RESERVED
*
* ====================================================================
* NOTICE: All information contained herein is, and remains the
* property of enStratus Networks Inc. The intellectual and technical... | true |
9416f1d245533d04955d8127c740dd020868aa7e | Java | wangzhongli/commen | /Android_common/src/com/hg/android/ormlite/extra/OrmLiteIteratorAdapterExt.java | UTF-8 | 1,891 | 2.046875 | 2 | [] | no_license | package com.hg.android.ormlite.extra;
import java.sql.SQLException;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.LoaderManager;
import android.support.v4.app.LoaderManager.LoaderCallbacks;
import android.support.v4.content.Loader;
import com.hg.android.ormlite.extra.OrmLite... | true |
92960bc0fd6af8ad580beaf9e5811444b19e69bd | Java | e-d/BlueDB | /BlueDBOnDisk/src/test/java/org/bluedb/disk/collection/index/IndexManagerTest.java | UTF-8 | 2,962 | 2.375 | 2 | [
"Apache-2.0"
] | permissive | package org.bluedb.disk.collection.index;
import java.util.Arrays;
import java.util.List;
import org.junit.Test;
import org.bluedb.api.exceptions.BlueDbException;
import org.bluedb.api.index.BlueIndex;
import org.bluedb.api.keys.BlueKey;
import org.bluedb.api.keys.IntegerKey;
import org.bluedb.api.keys.LongKe... | true |
c40f751bcb796a4bb99deb9ac856f686408df6ab | Java | worldup/boss | /Entitybean/src/com/dtv/oss/domain/CustProblemProcessHome.java | UTF-8 | 462 | 1.796875 | 2 | [] | no_license | package com.dtv.oss.domain;
import javax.ejb.CreateException;
import javax.ejb.FinderException;
import com.dtv.oss.dto.CustProblemProcessDTO;
public interface CustProblemProcessHome extends javax.ejb.EJBLocalHome {
public CustProblemProcess create(Integer id) throws CreateException;
public CustProblemProcess crea... | true |
7f0c4c2e6c6863b52c37e7b8da342e9a6cf650d5 | Java | dutmond-org/test-one | /src/main/java/configurationslicing/TopLevelItemSelector.java | UTF-8 | 1,334 | 2.53125 | 3 | [
"MIT"
] | permissive | package configurationslicing;
import hudson.model.TopLevelItem;
import jenkins.model.Jenkins;
import hudson.model.AbstractProject;
import hudson.model.Hudson;
import java.util.List;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.collections.Predicate;
/**
* Helper class to provide ... | true |
cd9c4db9a16f6e54b4f3f365e8fa9bf767f64fce | Java | JourdanClark/ServerPlugin | /src/server/plugin/event/PlayerStartRunningEvent.java | UTF-8 | 1,137 | 2.46875 | 2 | [] | no_license | package server.plugin.event;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
import server.plugin.manager.PlayerManager;
public class PlayerStartRunningEvent extends Event {
private static final HandlerList handlers = new ... | true |
bb7490e299b97dfbc25f958431c45e5f60623a3d | Java | wangwuguan/authority-management | /src/main/java/com/aaa/dao/HomeDao.java | UTF-8 | 582 | 1.898438 | 2 | [] | no_license | package com.aaa.dao;
import java.util.List;
import java.util.Map;
/**
* 项目名称:AccumulationFund
* 类名称:HomeDao
* 类描述: 前台管理
* 创建人:will.Wang
* 创建时间:2019年1月17日 下午6:42:29
*/
public interface HomeDao {
/**
* @return
*/
List<Map> selectNews();
/**
* @return
*/
Map selectNewsByNid(Map<Str... | true |
12835699c65b8f3c199d78792a26f4f7723a0e08 | Java | cenbow/pop | /pop/src/com/ai/bdx/pop/model/privilege/LkgFuncFolder.java | UTF-8 | 4,963 | 2 | 2 | [] | no_license | package com.ai.bdx.pop.model.privilege;
import com.asiainfo.biframe.privilege.IMenuItem;
/**
* LkgFuncFolder entity.
* 模块目录表
*
* @author MyEclipse Persistence Tools
*/
public class LkgFuncFolder implements java.io.Serializable, IMenuItem {
// Fields
private String folderId;
private String sysId;
private S... | true |
22e17281ad9323afd19870de59be666103fbea42 | Java | zunruiliu/testNgDemo | /IATStepGroup_Maven/src/main/java/com/wanmei/mobile/iat/wow/steps/WowCharacterAddSteps.java | UTF-8 | 2,022 | 2.03125 | 2 | [] | no_license | package com.wanmei.mobile.iat.wow.steps;
import java.util.LinkedHashMap;
import net.sf.json.JSONObject;
import org.testng.Assert;
import com.gateside.autotesting.Gat.dataobject.StepMethodDesc;
import com.gateside.autotesting.Gat.dataobject.stepparameter.InterfaceStepParameter;
import com.gateside.autotest... | true |
a7c43d9e3ae5de8b2e762f715c3e5d0d0f2a7811 | Java | chenxp106/mycollection | /src/main/java/cn/gdut/helloword/MyUnit.java | UTF-8 | 110 | 1.90625 | 2 | [] | no_license | package cn.gdut.helloword;
public class MyUnit {
public String hiUnit(){
return "Hello";
}
}
| true |
a91f86d8caf53e476098c4125118bd2467a29fe2 | Java | zavier/dubbo-simple-api | /interfaces/src/main/java/com/zavier/application/config/DubboProviderConfig.java | UTF-8 | 809 | 1.703125 | 2 | [] | no_license | package com.zavier.application.config;
import org.apache.dubbo.config.ApplicationConfig;
import org.apache.dubbo.config.ProtocolConfig;
import org.apache.dubbo.config.ProviderConfig;
import org.apache.dubbo.config.RegistryConfig;
import org.apache.dubbo.config.spring.context.annotation.DubboComponentScan;
import org.a... | true |
73527845ace8a572b5fe349505209848209e8084 | Java | DataBoxWx/springboot_7_m | /10-springboot-thymeleaf/src/main/java/com/bjpowernode/springboot/controller/ThymeleafController.java | UTF-8 | 2,400 | 2.59375 | 3 | [] | no_license | package com.bjpowernode.springboot.controller;
import com.bjpowernode.springboot.model.User;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import javax.servlet.http.HttpSession;
import java.util.ArrayList;
import java.... | true |
66c839f6658177e0015ce944b45712559938634c | Java | matgessel/gwt-tk | /tk/trunk/src/sandbox/asquare/gwt/sb/client/fw/ListModelEvent.java | UTF-8 | 3,859 | 2.53125 | 3 | [
"Apache-2.0"
] | permissive | /*
* Copyright 2007 Mat Gessel <mat.gessel@gmail.com>
*
* 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 b... | true |
d0152d2c1f27a9e9cd3d162a98c848fb657633bf | Java | harshkumar2208/SpringAnnotation | /src/main/java/com/pyramid/utils/Utility.java | UTF-8 | 3,652 | 2.8125 | 3 | [] | no_license | package com.pyramid.utils;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.Date;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
public class U... | true |
51cf69361e10390589aa1d78b2235d7e1f915930 | Java | luqiang1000/zmail | /zmailserver/src/main/java/com/zy/zmail/server/north/zyudp/command/QueryStatusCommand.java | UTF-8 | 671 | 1.953125 | 2 | [] | no_license | package com.zy.zmail.server.north.zyudp.command;
import com.zy.zmail.server.north.DoorResult;
import com.zy.zmail.server.north.util.Octet;
import com.zy.zmail.server.north.zytcp.command.ZytcpCommand;
/**
* Created by wenliz on 2017/3/7.
*/
public class QueryStatusCommand extends ZyudpCommand {
@Override
pro... | true |
82435035186293f6a4e0cfec49ad2e27fd145878 | Java | FeelHack/STUDENT-EXAMINATION-SYSTEM | /Exam System/src/com/controller/Register.java | UTF-8 | 1,980 | 2.25 | 2 | [] | no_license | package com.controller;
import java.io.IOException;
import java.sql.SQLException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.... | true |
4ef1a8cadd83a8b4012bc1e946c5e057d6bccb80 | Java | huchonglinw/simple-spring | /src/main/java/com/huchonglin/core/DefaultBeanFactory.java | UTF-8 | 7,363 | 2.375 | 2 | [] | no_license | package com.huchonglin.core;
import com.huchonglin.annotation.*;
import com.huchonglin.aop.AopProxy;
import com.huchonglin.aop.JdkProxy;
import com.huchonglin.core.constant.AnnotationTypeConfigConsts;
import com.huchonglin.util.ClassUtil;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.ut... | true |
2d3485cb63e24b5f682c2f00b5f8e6ef764ecf8b | Java | ckusk92/mlb-gm | /server/mlb-gm/src/main/java/learn/mlb_gm/models/Game.java | UTF-8 | 2,050 | 2.765625 | 3 | [] | no_license | package learn.mlb_gm.models;
public class Game {
private int gameId;
private int homeTeamId;
private int awayTeamId;
private int gameNumber;
private int homeScore;
private int awayScore;
private boolean played;
public Game() {
}
public Game(int homeTeamId, int awayTeamId, in... | true |
423b0029dc925d5ff59533b7403e277ac7898522 | Java | luis-ayestaran/POS_v2 | /POS_v2/src/main/java/com/masterdev/student/views/Login.java | UTF-8 | 981 | 2.375 | 2 | [] | no_license | package com.masterdev.student.views;
import java.io.IOException;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.Parent;
import javafx.stage.Stage;
public class Login extends Application{
private static Stage stage;
public... | true |
1ca3647de7b4e94bfc783d325d8f733a5a73785f | Java | mahak15/spring-mvc-security | /springsecurity-jdbc-authorization-authentication/src/main/java/com/controller/MainController.java | UTF-8 | 699 | 2.1875 | 2 | [] | no_license | package com.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;
@Controller
public class MainController {
@RequestM... | true |
47eb68ab766a25c77556ad3fc10bdab412515cfc | Java | Veridu-com/morpheus | /src/main/java/com/veridu/morpheus/impl/EvaluateModel.java | UTF-8 | 1,969 | 2.515625 | 3 | [
"MIT"
] | permissive | /*
* Copyright (c) 2012-2017 Veridu Ltd <https://veridu.com>
* All rights reserved.
*/
package com.veridu.morpheus.impl;
import com.veridu.morpheus.interfaces.models.IModel;
import com.veridu.morpheus.interfaces.models.IPrediction;
import weka.core.Instance;
import weka.core.Instances;
public class EvaluateModel... | true |
e002739c017618a8c9d808af0781eeeacdb8badd | Java | aparra/distributed-algorithms | /src/main/java/br/ufscar/sorocaba/appia/datalink/events/SendRequestEvent.java | UTF-8 | 464 | 2.296875 | 2 | [] | no_license | package br.ufscar.sorocaba.appia.datalink.events;
import static br.ufscar.sorocaba.appia.util.AppiaUtils.creanteSocketAddress;
import java.net.SocketAddress;
import net.sf.appia.core.events.SendableEvent;
public class SendRequestEvent extends SendableEvent {
public SendRequestEvent to(String address) {
dest = c... | true |
7af03ade8131e37cb9dcb1db40333111d9979736 | Java | eupestov/price-explorer | /rest-api/src/test/java/com/example/priceexplorer/rest/PriceCalculatorControllerTest.java | UTF-8 | 2,568 | 2.125 | 2 | [] | no_license | package com.example.priceexplorer.rest;
import com.example.priceexplorer.core.PriceCalculator;
import com.example.priceexplorer.spi.PriceQuote;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.s... | true |
deb1b37beca37669c26b831f7a593eeef84131ed | Java | 18312106568/Json2Pojo | /src/main/java/net/hexar/json2pojo/GenerateAction.java | UTF-8 | 3,540 | 2.265625 | 2 | [
"Apache-2.0"
] | permissive | package net.hexar.json2pojo;
import com.intellij.ide.projectView.ProjectView;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.LangDataKeys;
import com.intellij.openapi.progress.ProgressIndicator;
import com.intellij.ope... | true |
26006c96bb1607958b0e4987ad6c4299e24f9773 | Java | lizhe123456/QiangBiZhong | /app/src/main/java/com/whmnrc/qiangbizhong/presenter/me/LoginPresenter.java | UTF-8 | 7,605 | 1.96875 | 2 | [] | no_license | package com.whmnrc.qiangbizhong.presenter.me;
import android.app.Activity;
import android.content.Context;
import android.support.annotation.NonNull;
import android.text.TextUtils;
import com.alibaba.fastjson.JSON;
import com.blankj.utilcode.util.EncryptUtils;
import com.blankj.utilcode.util.ToastUtils;
import com.wh... | true |
9db4196f5e6eccefe7c448ef06cf01e1faa5f52b | Java | pablopr/lastweek | /src/main/java/com/marc/lastweek/web/util/ViewUtils.java | WINDOWS-1252 | 1,852 | 2.703125 | 3 | [] | no_license | package com.marc.lastweek.web.util;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import org.apache.commons.lang.LocaleUtils;
public class ViewUtils {
public static final int MAX_LENGTH_DIGEST = 85;
public static String labelizer(Object obj, String datePattern) {
if (obj!=... | true |
9a410030b58241d40df7174e96d5645bf4bc0d93 | Java | AnderBalles98/URI | /1983.java | UTF-8 | 759 | 3.265625 | 3 | [] | no_license | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/**
* @author ANDERSON BALLESTEROS
*/
class Main {
public static void main(String[] args) throws IOException {
BufferedReader leer = new BufferedReader(new InputStreamReader(System.in));
int student... | true |
9bafe4f574eb16922e0f1e21462d080b586429ed | Java | KyleJemmott/wakk | /src/main/java/code/Content.java | UTF-8 | 252 | 1.78125 | 2 | [] | no_license | package code;
import io.vertx.core.json.JsonObject;
public class Content {
public static IContent buildFromId(Long internalId){
return null;
}
public static IContent buildFromJson(JsonObject json){
return null;
}
}
| true |
284ad41111e02bedac9b10fcbe8ba1cf4bfcbf39 | Java | osotemi/framework_java_mvc_poo | /src/framework/mod/settings/controler/Controler_Main.java | ISO-8859-2 | 25,014 | 1.757813 | 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 framework.mod.settings.controler;
import framework.clss.singletonGen;
import framework.mod.settings.model.BLL.BLL_login;
impor... | true |
9b9f43b0e743e705bdabc4a12e7780ba3ceccc3e | Java | krpeda/BalticRideRepo | /src/main/java/app/message/MessageRepositoryCustom.java | UTF-8 | 247 | 1.84375 | 2 | [] | no_license | package app.message;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface MessageRepositoryCustom {
List<Message> getUserMessages(String userId);
void deleteMessage(String messageId);
}
| true |
4e9bddb817792a565632a8738b7ff75fffe9d89c | Java | certaays/responsi-pbo | /123190093_Responsi/src/barang/ControllerBarang.java | UTF-8 | 1,558 | 2.359375 | 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 barang;
import javax.swing.JOptionPane;
/**
*
* @author ASUS
*/
public class ControllerBarang {
public v... | true |
c731dbf0e7ea2eb96e8c057522c91bb461a0475b | Java | ritvikraj1998/Calculator | /src/main/java/com/houarizegai/calculator/theme/properties/ThemeList.java | UTF-8 | 534 | 2.5625 | 3 | [
"MIT"
] | permissive | package com.houarizegai.calculator.theme.properties;
import java.util.List;
import java.util.Map;
import java.util.function.Function;
import java.util.stream.Collectors;
public class ThemeList {
private List<Theme> themes;
public List<Theme> getThemes() {
return themes;
}
public void setThem... | true |
fe13650ca06fd239f57d3ebca00064ddd5b7c3fc | Java | Kryspo/L2jRamsheart | /src/main/java/l2f/gameserver/stats/Calculator.java | UTF-8 | 2,407 | 2.71875 | 3 | [
"MIT"
] | permissive | package l2f.gameserver.stats;
import l2f.commons.lang.ArrayUtils;
import l2f.gameserver.model.Creature;
import l2f.gameserver.stats.funcs.Func;
import l2f.gameserver.stats.funcs.FuncOwner;
public final class Calculator
{
private Func[] _functions;
private double _base;
private double _last;
public final Stats... | true |
86f9020c8e71b263cf63db881d704646011e02b5 | Java | benetech/aggregate | /odk-tables-api/src/main/java/org/opendatakit/aggregate/odktables/rest/entity/Row.java | UTF-8 | 18,067 | 1.742188 | 2 | [
"Apache-2.0"
] | permissive | /*
* Copyright (C) 2012-2013 University of Washington
*
* 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 a... | true |
eaec6286ecc930828fcad676900b90842b0d3f5c | Java | jxsd1234a/Web-API | /webapi-sponge/src/main/java/valandur/webapi/serialize/view/data/DecayableDataView.java | UTF-8 | 462 | 2.078125 | 2 | [
"MIT"
] | permissive | package valandur.webapi.serialize.view.data;
import com.fasterxml.jackson.annotation.JsonValue;
import org.spongepowered.api.data.manipulator.mutable.block.DecayableData;
import valandur.webapi.serialize.BaseView;
public class DecayableDataView extends BaseView<DecayableData> {
@JsonValue
public boolean deca... | true |
c92907014c453d8c8483955a429b4f15bd62a8b1 | Java | MDThomsen/Mario-AI- | /src/superAgent/MarioAI.java | UTF-8 | 4,274 | 2.4375 | 2 | [] | no_license | package superAgent;
import java.awt.List;
import java.util.ArrayList;
import ch.idsia.agents.Agent;
import ch.idsia.agents.controllers.BasicMarioAIAgent;
import ch.idsia.benchmark.mario.engine.sprites.Mario;
public class MarioAI extends BasicMarioAIAgent implements Agent {
float PrevX;
int enemyPos;
int timesStuc... | true |
f489936eeb453887f3d10020f85080404b7f9d54 | Java | CodeMan-cx/Java_Basics | /Class_Generic/src/Class_GenericImplement/GenericImplement.java | UTF-8 | 163 | 2.578125 | 3 | [] | no_license | package Class_GenericImplement;
/*泛型接口*/
public interface GenericImplement<T> {
// void show(T t);
// 泛型方法:
<T>void show(T t);
}
| true |
a1daedd10467d418a3d4794b1c0d883813d0c156 | Java | wzp09tjlg/CNC_Launcher | /app/src/main/java/cn/cncgroup/tv/cncplayer/bean/FocuseTipInfo.java | UTF-8 | 483 | 2.171875 | 2 | [] | no_license | package cn.cncgroup.tv.cncplayer.bean;
import android.view.View;
/**
* Created by Administrator on 2015/8/31.
*/
public class FocuseTipInfo {
public View view;
public int pos;
public boolean isShow;
public FocuseTipInfo(View view,int pos, boolean isShow){
this.isShow = isShow;
this.p... | true |
d6f2694b4b59bf1d8e4ec0bf94f7d042f1c40a91 | Java | simiyub/java-programming-masterclass | /oop/src/Main.java | UTF-8 | 1,367 | 3.34375 | 3 | [] | no_license | import data.*;
public class Main {
public static void main(String[] args) {
final String BURGER_TYPE_STANDARD="standard";
final String BURGER_TYPE_HEALTHY="healthy";
final String BURGER_TYPE_DELUXE="deluxe";
Burger burger=new Burger(BURGER_TYPE_STANDARD,
new Ingredi... | true |
fa7d319c6fef72ebfd39977a95e6d0700e39f405 | Java | amarkmr548/ITM | /ITM/src/main/java/src/main/java/ITMService.java | UTF-8 | 1,399 | 2.25 | 2 | [] | no_license | package src.main.java;
import java.util.List;
import org.activiti.engine.IdentityService;
import org.activiti.engine.TaskService;
import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.JavaDelegate;
import org.activiti.engine.identity.User;
import org.activiti.engine.identity.UserQ... | true |
6752079648261b636ec7b0ce002ae55c0ece67fe | Java | King-Pan/java_design | /src/main/java/com/leave/design/action/template/Leader.java | UTF-8 | 522 | 2.828125 | 3 | [
"Apache-2.0"
] | permissive | package com.leave.design.action.template;
/**
* 领导
* @author King-Pan
*
*/
public class Leader extends Worker {
@Override
public void goWork() {
System.out.println("领导: 早上9:30出门,开车10分钟到达公司.");
}
@Override
public void startWork() {
System.out.println("领导: 秘书帮忙泡一杯茶,拿一份报纸看一上午,下午开个会,晚上和客户一起吃饭.");
}
@Overr... | true |
a8f32cc26ea37b8c3c21e18cfdf02cca8f128918 | Java | zMedeirosCSUEB/HoneyBadger | /src/main/java/game/View.java | UTF-8 | 1,127 | 3.234375 | 3 | [] | no_license | package game;
public class View {
// Constructor
public View(){
}
// Game Banner
public void title(){
System.out.println("HONEY BADGER");
}
// User Input Prompt
public void enterPrompt(){
System.out.println("Enter 1, 2, 3, 4");
}
public void path(String op... | true |
3f3d7ac0c2938aa092755380e5b326410c2dd129 | Java | babazoro/springboot | /spring/src/main/java/com/example/demo/controller/TodoController.java | UTF-8 | 4,098 | 2.140625 | 2 | [] | no_license | package com.example.demo.controller;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;
import org.springf... | true |
8813701694dee0154ea2f1f18294485ac14e02f6 | Java | billyxiong/coolead_em | /coolead_project/src/com/coolead/page_object/AddOrganizationPage.java | UTF-8 | 2,579 | 2.140625 | 2 | [] | no_license | package com.coolead.page_object;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import com.coolead.util.ObjectMap;
public class AddOrganizationPage {
private WebElement element = null;
private ObjectMap objectMap = new ObjectMap(System.getProperty("user.dir")+"/config/object... | true |
01e65e6c5e1c31acefda8d10368c569090aebb31 | Java | ronit428/Milkman | /src/application/AboutUs.java | UTF-8 | 1,028 | 3 | 3 | [] | no_license | package application;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.image.Image;
import javafx.scene.layout.VBox;
import javafx.scene.paint.ImagePattern;
import javafx.scene.shape.Circle;
import javafx.scene.text.Font;
import javafx.scene.text.FontWeight;
... | true |
12a68e862801cffe0c4b423cd33a2cd985ae59c4 | Java | googleapis/google-api-java-client-services | /clients/google-api-services-datapipelines/v1/2.0.0/com/google/api/services/datapipelines/v1/model/GoogleCloudDatapipelinesV1ComputeSchemaRequest.java | UTF-8 | 5,642 | 1.773438 | 2 | [
"Apache-2.0"
] | permissive | /*
* 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 writing, software distributed under t... | true |
687d765a2edf1038c389be1b9a8208613e187f84 | Java | Baltoli/FrAngel | /src/frangel/Settings.java | UTF-8 | 7,780 | 2.0625 | 2 | [
"Apache-2.0"
] | permissive | // Contains constants and other settings.
package frangel;
import frangel.benchmarks.BenchmarkGroup;
import frangel.benchmarks.TaskCreator;
import frangel.benchmarks.controlstructures.*;
import frangel.benchmarks.geometry.*;
import frangel.benchmarks.github.*;
import frangel.benchmarks.sypet.*;
import java.util.*;
@... | true |
b7ab4a155a0036e216258ac098c5ffb8996b2ada | Java | D-a-r-e-k/Code-Smells-Detection | /Preparation/processed-dataset/god-class_4_1100/56.java | UTF-8 | 2,160 | 2.59375 | 3 | [] | no_license | /**
* Reads a color style attribute. This can be a Color or null.
* FIXME - Doesn't support url(...) colors yet.
*/
private Color toColor(IXMLElement elem, String value) throws IOException {
String str = value;
if (str == null) {
return null;
}
str = str.trim().toLowerCase();
... | true |
8b2d4eec4d02da06f115b8779b62205d44b0009c | Java | 503319972/watcher | /src/main/java/com/keyman/watcher/parser/FileJsonParser.java | UTF-8 | 152 | 1.679688 | 2 | [] | no_license | package com.keyman.watcher.parser;
import java.io.File;
public interface FileJsonParser extends FileResultParser {
String parseJson(File path);
}
| true |
cf818da657c484c3219dda8c0cf87a34b1fea2a9 | Java | CMPUT301W21T19/Nidoqueue | /app/src/main/java/com/example/nidoqueue/activity/WelcomeActivity.java | UTF-8 | 3,768 | 2.421875 | 2 | [] | no_license | package com.example.nidoqueue.activity;
import android.os.Bundle;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
import com.example.nidoqueue.R;
import com.example.nidoqueue.controller.ContextManager;
import com.example.nidoqueue.model.DatabaseManager;
import com.example.n... | true |
f007894ceb590ca29b4694247de5b434f304518c | Java | jefbu/Fantarman | /src/main/graphics/gameScreen/homeScreen/ArmyPanel.java | UTF-8 | 1,788 | 2.46875 | 2 | [] | no_license | package main.graphics.gameScreen.homeScreen;
import java.awt.Dimension;
import java.awt.FlowLayout;
import main.Main;
import main.components.ButtonedPanel;
import main.components.LabeledPanel;
import main.utility.Colors;
public class ArmyPanel extends ButtonedPanel {
private static final long serialVer... | true |
1adb5b8b446fc6042f75fd7aaa2ce03a087d9253 | Java | xHotch/r.eplay | /src/main/java/at/ac/tuwien/sepm/assignment/group/replay/service/exception/MatchServiceException.java | UTF-8 | 339 | 1.96875 | 2 | [
"MIT"
] | permissive | package at.ac.tuwien.sepm.assignment.group.replay.service.exception;
/**
* @author Daniel Klampfl
*/
public class MatchServiceException extends Exception{
public MatchServiceException(String message) {
super(message);
}
public MatchServiceException(String message, Throwable cause) {
supe... | true |
68b1347175ad09c1bab29ddb0d410662818734d4 | Java | SingleXL/Net_CMS_2 | /Net_CMS/src/com/cms/dao/IArticleDao.java | UTF-8 | 204 | 1.640625 | 2 | [] | no_license | package com.cms.dao;
import java.util.List;
import com.cms.model.Article;
public interface IArticleDao {
public List<Article> findByChannelAndTitle(String channelSn,String title);
}
| true |
ae3730fbfd0bfcaae4605154416db35f68a9bcf6 | Java | apache/xmlgraphics-fop | /fop-core/src/main/java/org/apache/fop/render/afp/AFPImageHandlerRawCCITTFax.java | UTF-8 | 3,668 | 1.90625 | 2 | [
"Apache-2.0"
] | 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 may ... | true |
0f71c30bbd5f06dcc9e7aae10e789f339c7b2b4a | Java | eugene8568/floodlightcontroller_flowcontrol | /src/main/java/net/floodlightcontroller/util/InstructionUtils.java | UTF-8 | 15,437 | 2.5 | 2 | [
"Apache-2.0"
] | permissive | package net.floodlightcontroller.util;
import java.util.ArrayList;
import java.util.List;
import org.projectfloodlight.openflow.protocol.OFFactories;
import org.projectfloodlight.openflow.protocol.OFFlowMod;
import org.projectfloodlight.openflow.protocol.OFVersion;
import org.projectfloodlight.openflow.protocol.instr... | true |
7f7b44df0998471377f0bbbe660f6d275791061f | Java | Javipell/Gestion-Trabajos | /app/src/main/java/com/javi/pell/trabajos/ListaProveedores.java | UTF-8 | 9,113 | 1.960938 | 2 | [] | no_license | package com.javi.pell.trabajos;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;
import android.preference.PreferenceManage... | true |
7554db0b722b8480063857ca9178fae20d93b96e | Java | kib06277/Material_Design | /MaterialDesign/app/src/main/java/com/hfad/materialdesign/activity/LinearProgressActivity.java | UTF-8 | 388 | 1.804688 | 2 | [] | no_license | package com.hfad.materialdesign.activity;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import com.hfad.materialdesign.R;
public class LinearProgressActivity extends AppCompatActivity
{
@Override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedIn... | true |
8555cc4d3dc02bc9a217e9a46d6ce76af44723e0 | Java | sda97ghb/LearnWordsApi | /src/main/java/mappers/DeckMapper.java | UTF-8 | 4,830 | 2.578125 | 3 | [] | no_license | package mappers;
import api.*;
import auxiliary.TimestampFactory;
import org.bson.types.ObjectId;
import storage.*;
import java.util.Objects;
import java.util.stream.Collectors;
public class DeckMapper implements Mapper<StorageDeck, ApiDeck> {
private StorageDeck storageDeck;
private String getEmailOfUserWi... | true |
6b3b9d8eae4cca4a5383fa6071b15e6e2397d80e | Java | edgardorito/ServiciosEconomia | /Servicios-SE/src/java/aspirante/Aspirante.java | UTF-8 | 5,103 | 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 aspirante;
import conexionBD.Conexion;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Arr... | true |
11f1239133a6bda9b0104d36880c7652c229820c | Java | smdodds/whatsfordinner | /src/main/java/com/revature/beans/Recipe.java | UTF-8 | 3,143 | 2.46875 | 2 | [] | no_license | package com.revature.beans;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import jav... | true |