text stringlengths 7 1.01M |
|---|
/*
* 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 ... |
/**
* The exception package contains the classes for the different types of
* exception used.
*/
package com.flagstone.transform.exception;
|
package com.lilbaek.clinic.management.repository.db;
import com.lilbaek.shared.interfaces.IAggregateRoot;
import lombok.*;
import javax.persistence.*;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
@Entity
@Table(name = "Rooms")
@Getter
@Setter
@Builder
@AllArgsConstructor... |
package cn.com.wewin.modules.system.aspect;
/**
* @Author scott
* @Date 2020/1/14 13:36
* @Description: 请求URL与菜单路由URL转换规则(方便于采用菜单路由URL来配置数据权限规则)
*/
public enum UrlMatchEnum {
CGFORM_DATA("/online/cgform/api/getData/", "/online/cgformList/"),
CGFORM_EXCEL_DATA("/online/cgform/api/exportXls/", "/online/cgfor... |
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* 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 ... |
/*
* 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 ... |
/*
VLDocking Framework 3.0
Copyright Lilian Chamontin, 2004-2013
www.vldocking.com
vldocking@googlegroups.com
------------------------------------------------------------------------
This software is distributed under the LGPL license
The fact that you are presently reading this and using this cla... |
//
// InlineLinkSelector.java: Class file for WO Component 'InlineLinkSelector'
// Project Pachyderm2
//
// Created by king on 2/23/05
//
package org.pachyderm.woc;
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.pac... |
package karnix.the.ssn.app.activity.alerts;
import android.net.Uri;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.customtabs.CustomTabsIntent;
import android.support.design.widget.CoordinatorLayout;
import android.support.design.widget.FloatingActionButton;
import android... |
package com.zys.weather.coolweather;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Color;
import android.os.Build;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.annotation.Nullable;
import android.support.v4.view.Gravity... |
package javawebparts.core;
import java.util.HashMap;
import java.util.Map;
import junit.framework.TestCase;
/**
* Unit tests of the class <code>CaseInsensitiveMap</code>.
* Please note that there are more test fixtures for this class.
* To run them all please use the <code>CaseInsensitiveMapAllTests</code> suite.... |
class exercicio7 {
public static void main(String[] args) {
int soma = 0;
System.out.println("A soma de todos os números de 1 a 100 é: " + total(soma));
}
static int total(int soma) {
int cont = 1;
while (cont <= 100) {
soma = soma + cont;
... |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
//$Id$
package org.hibernate.jpa.test.pack.war;
import javax.persistence.ExcludeDe... |
/*
* 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 ... |
package com.youzitech.crawler.sources;
public interface FileResovleAware {
public String readFile(String path);
public void resourceStorage(String url,String fileName,String dir);
}
|
package f_binary_tree_and_recursion;
public class Mirror_Binary_Tree {
public static class TreeNode {
int val;
TreeNode left;
TreeNode right;
TreeNode(int x) { val = x; }
}
public boolean isMirror(TreeNode root){
return mirror(root, root);
}
public boolean... |
/* Xholon Runtime Framework - executes event-driven & dynamic applications
* Copyright (C) 2007, 2008 Ken Webb
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2.1
*... |
package org.edi.stocktask.dto;
/**
* @author Fancy
* @date 2018/8/21
*/
public class CodeBarParseResult implements ICodeBarParseResult {
private Integer baseLine;
private String itemCode;
private String codeBar;
private Double quantity;
private String inDate;
private String expDate;
pr... |
/*
* MIT License
*
* Copyright (c) 2022 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
/*
* (C) Copyright IBM Corp. 2017, 2022
*
* SPDX-License-Identifier: Apache-2.0
*/
package com.ibm.fhir.persistence.jdbc.impl;
import static com.ibm.fhir.config.FHIRConfiguration.PROPERTY_SEARCH_ENABLE_LEGACY_WHOLE_SYSTEM_SEARCH_PARAMS;
import static com.ibm.fhir.config.FHIRConfiguration.PROPERTY_UPDATE_CREATE_EN... |
package com.example.yetti.toneplayer.model;
public final class SongContract {
public static final String SONG_ALBUM_ARTWORK_URI = "content://media/external/audio/albumart/";
}
|
/*
* 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 ... |
package com.packtpub.java7.concurrency.chapter7.recipe10.task;
/**
* Class that simulates a sensor in the doors of the parking
*
*/
public class Sensor1 implements Runnable {
/**
* Counter of cars in the parking
*/
private ParkingCounter counter;
/**
* Constructor of the class. It initializes its attrib... |
package ttetris.logiikka;
/**
* Koska Tetrispeli laskee yhden ruudun tapahtumat 60 kertaa sekunnissa, voi
* pelin sisäisiä ajastettuja tapahtumia laskea ruuduissa. Nämä tapahtumat on
* tämän luokan vastuulla. Pelilaskurille voi myös määrittää onko laskuri
* aktiivinen tai ei jos haluaa käyttää laskuria tällä tava... |
/**
* Copyright © 2020 ForgeRock AS (obst@forgerock.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 by app... |
package com.ovit.nswy.portal.model;
import java.math.BigDecimal;
import java.util.Date;
import java.util.*;
import javax.persistence.*;
@Table(name = "shop_order")
public class ShopOrder {
@Id
private Integer id;
/**
* 订单编号
*/
@Column(name = "order_code")
private String orderCode;
... |
/*
* Copyright 2015 The SageTV Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... |
/*
* Copyright 2016-present Open Networking Laboratory
*
* 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 appli... |
/*
* @(#)JsonHttpAsyncTask.java 1.0 Oct 2, 2016
* Copyright 2016 by SystemEXE Inc. All rights reserved.
*/
package org.nlh4j.android.tasks;
import java.util.LinkedHashMap;
import java.util.Map;
import javax.ws.rs.core.MediaType;
import org.apache.http.HttpHost;
import org.apache.http.HttpStatus;
impo... |
package com.jl.crm.android.activities.fragments;
import android.graphics.Color;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import com.actionbarsherlock.app.SherlockFragment;
import com.jl.crm.android.R;
/**
*... |
package io.improbable.keanu.vertices.tensor.number.floating.operators.unary;
import io.improbable.keanu.vertices.tensor.number.floating.dbl.DoubleVertex;
import org.junit.Test;
import static io.improbable.keanu.vertices.tensor.number.BinaryOperationTestHelpers.toDiagonalArray;
import static io.improbable.keanu.vertic... |
package com.example.liangwanandroid.views.adapter;
import android.content.Context;
import android.widget.ImageView;
import com.bumptech.glide.Glide;
import com.example.liangwanandroid.model.home.bean.BannerDataItem;
import com.youth.banner.loader.ImageLoader;
public class GlideImageLoader extends ImageLoader {
@... |
package de.uni_stuttgart.informatik.sopra.sopraapp.ui.adminui.riddle.editRiddle.puzzleAnswer.answerElements;
import android.app.Dialog;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.DialogFragment;
import android.view.LayoutInflater;
import android.view.View;
import... |
package cz.cvut.fel.omo.inteligenthouses.simulation.device;
/**
* Represents an item
* @author macekja7
*/
public class Item {
private String name;
private Machine machine;
/**
* Creates new Item
* @param name name of the item
*/
public Item(String name) {
this.name = name;
... |
package org.ripple.bouncycastle.crypto.tls;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import org.ripple.bouncycastle.util.Strings;
/**
* RFC 6066 5.
*/
public class URLAndHash
{
protected String url;
protected byte[] sha1Hash;
public URLAndHash(String url, by... |
package org.kuali.ole;
import org.kuali.common.jdbc.JdbcProjectContext;
import org.kuali.common.util.ProjectContext;
import org.kuali.common.util.spring.SpringUtils;
import org.springframework.context.annotation.Bean;
import org.springframework.core.env.PropertySource;
/**
* Created by pvsubrah on 7/15/14.
*/
publi... |
package lementProApp.model;
/**
* Created by Saadi on 23/07/2015.
*/
import java.io.File;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.lang.ref.SoftReference;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.HashMap;
import java.util.Stack;
import android.... |
package com.datacrawler.test;
import java.io.FileNotFoundException;
import java.util.Properties;
import com.datacrawler.common.util.PropertyReader;
public class PropsUtilsTest {
public static void main(String[] args) {
try {
Properties props = PropertyReader.getProperties("com-c... |
package com.example.marlieske.chords4n00bs;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ListView;
import android.widget.TextView;
import java.util.ArrayList;
/**
* Created by M... |
/**
* Copyright 2019 The JoyQueue Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
/**
* Copyright (C) 2015 DataTorrent, Inc.
*
* 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 la... |
package org.springframework.mytest;
public @interface MyBeanScan {
String basePackages();
}
|
package unalcol.reflect.service;
/**
* <p>The Service Hierarchy infra-structure. Provides services for
* objects and classes</p>
*
* @author Jonatan Gomez Perdomo
* @version 1.0
*/
public class ServiceProvider {
protected ServiceNode root;
public ServiceProvider(){
this.root = new ServiceNode( S... |
package controller;
import business.BusinessLogic;
import com.jfoenix.controls.JFXButton;
import com.jfoenix.controls.JFXComboBox;
import com.jfoenix.controls.JFXTextField;
import db.DBConnection;
import javafx.application.Platform;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
i... |
/*
* 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
* distribut... |
/**
*
*/
package org.wlt.expression.format;
import org.wlt.expression.ExpressionToken;
import org.wlt.expression.ExpressionToken.ETokenType;
import org.wlt.expression.datameta.BaseDataMeta.DataType;
import org.wlt.expression.op.Operator;
import java.io.IOException;
import java.text.ParseException;
import java.text... |
package ny2.ats.indicator.indicators;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.time.temporal.ChronoUnit;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.SortedMap... |
/*
* Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package pe.andres.bairesdev.domain;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Andr... |
package com.gooofy.demo.service.impl;
import com.gooofy.demo.domain.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Service;
import java.util.Map;
@Service
public class UserServiceImpl implements com.gooofy... |
/*
* Copyright 2020 Adobe Systems Incorporated
*
* 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 la... |
/**
* 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... |
package com.codepoetics.magicbeans.introspection;
public interface Setter<T, P> {
void set(T instance, P value);
}
|
package org.innovateuk.ifs.commons.service;
import org.innovateuk.ifs.commons.rest.RestResult;
import org.springframework.core.ParameterizedTypeReference;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpMethod;
import org.springframework.http.HttpStatus;
import org.springframework.http... |
package models.util;
import api.ServerConstants;
import api.http.httpRequest.Recruiter.AddCreditRequest;
import controllers.Global;
import models.entity.JobPost;
import models.entity.Recruiter.RecruiterProfile;
import notificationService.EmailEvent;
import notificationService.NotificationEvent;
import play.Logger;
im... |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* 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 app... |
package dungeongenerator.util;
/**
* Class that holds values for x and y positions. Intended to be modified from
* the outside.
*
* @author hajame
*/
public class Position {
public int x;
public int y;
private Position next;
public Position(int x, int y) {
this.x = x;
this.y = y;... |
/*
* 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 ... |
package demo.controller;
import demo.protocol.HelloService;
import org.noear.solon.annotation.Component;
import org.noear.solon.annotation.Mapping;
import org.noear.solon.annotation.Remoting;
import org.noear.solon.core.handle.MethodType;
/**
* @author noear 2021/1/8 created
*/
@Mapping(value = "/rpc/",method = Met... |
/*
* 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... |
/*
* Copyright (C) 2015 The Android Open Source Project
*
* 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 app... |
package io.nwdaf.analytics.model;
import java.util.Objects;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;... |
package org.andromda.metafacades.emf.uml22;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import org.andromda.metafacades.uml.FrontEndActivityGraph;
import org.andromda.metafacades.uml.FrontEndForward;
im... |
package com.kodedu.service;
import java.nio.file.Path;
/**
* Created by usta on 07.09.2014.
*/
public interface PathResolverService {
public final static String label = "core::service::PathResolver";
public boolean isPDF(Path path);
public boolean isImage(Path path);
public boolean isHidden(Path ... |
/***************************************************************************
* Copyright 2018 Kieker Project (http://kieker-monitoring.net)
*
* 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 a... |
package com.chauncey.WeTeBot.model.weather;
import lombok.Data;
import org.springframework.stereotype.Component;
/**
* @author https://github.com/ChaunceyCX
* @version 1.0
* @className Update
* @description TODO
* @date 2019/6/29 上午10:19
**/
@Component
@Data
public class Update {
private String loc;
pri... |
package org.opentosca.yamlconverter.yamlmodel.yaml.element;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class ServiceTemplate extends YAMLElement {
private String tosca_definitions_version = "";
private String tosca_default_namespace = "";
private Stri... |
package com.acap.pkg.manager.adapter;
import android.content.Context;
import androidx.recyclerview.widget.RecyclerView;
import support.lfp.adapter.BaseViewHolder;
/**
* 复合布局的ViewHolder
*
* @Author :Hope_LFB
* @DATE :2019/10/25 11:11
*/
public abstract class MultipleViewModel {
RecyclerView.Adapter mAdapt... |
package com.young.mall.notify;
import org.apache.commons.mail.DefaultAuthenticator;
import org.apache.commons.mail.EmailException;
import org.apache.commons.mail.HtmlEmail;
/**
* @Description: HTML邮件发送帮助类 兼容云服务器屏蔽25端口的问题
* @Author: yqz
* @CreateDate: 2020/11/2 16:59
*/
public class EmailHelper {
/**
*... |
/*
* 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 ... |
package io.github.henryssondaniel.teacup.protocol.ftp.node;
import io.github.henryssondaniel.teacup.core.assertion.GenericLongAssert;
import io.github.henryssondaniel.teacup.core.assertion.GenericStringAssert;
import io.github.henryssondaniel.teacup.protocol.NodeBuilder;
/**
* Request builder.
*
* @since 1.0
*/
p... |
/**
* Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
*/
package com.oracle.bmc.resourcemanager.internal.http;
import com.oracle.bmc.resourcemanager.model.*;
import com.oracle.bmc.resourcemanager.requests.*;
import com.oracle.bmc.resourcemanager.responses.*;
import org.apache.commons.lan... |
package Exceptions;
public class InvalidProductExecption extends Exception {
private static final long serialVersionUID = -1153262688310170959L;
}
|
/*
* Copyright 2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package com.anshul.interview.ds;
import com.anshul.interview.ds.linkedlist.Node;
public class RemoveDuplicateFromSortedLinkedList {
private void removeDuplicates(Node head) {
// TODO Auto-generated method stub
if (head == null)
return;
Node curr = head, nextNode = head.next;
while (nextNode ... |
import java.util.Arrays;
import java.util.List;
import java.util.ArrayList;
public class Test {
public static void main(String[] args) {
Solution sl = new Solution();
Solution.TreeNode tr;
boolean success = true;
ArrayList<Integer> inTemplate = new ArrayList<>();
ArrayList<I... |
/*
* The MIT License
* Copyright © 2014-2019 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy... |
package net.minecraft.block;
import me.lc.vodka.event.events.EventSlowDown;
import net.minecraft.block.material.MapColor;
import net.minecraft.block.material.Material;
import net.minecraft.block.state.IBlockState;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.Entity;
import net.minecraft.u... |
/*
* Copyright 2016 Michel Vollebregt
*
* 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 agre... |
package android.os;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
public class RemoteCallback {
public interface OnResultListener {
void onResult(@Nullable Bundle result);
}
public RemoteCallback(OnResultListener listener) {
throw new RuntimeException();
}
... |
/*
* Copyright (c) 2008-2019, Hazelcast, Inc. All Rights Reserved.
*
* 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 ... |
package controllers1;
import play.mvc.Controller;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
public class Hello1111111111111111111111111111111 extends Controller {
public static void hello() {
// System.out.println("tere");
render("Application/hello.html", debug());
... |
package com.ayang818.honor.datacollection.model;
public class Category {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column categories_dict.id
*
* @mbg.generated Sun Nov 03 15:07:40 GMT+08:00 2019
*/
private Long id;
/**
... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE129_Improper_Validation_of_Array_Index__console_readLine_array_size_06.java
Label Definition File: CWE129_Improper_Validation_of_Array_Index.label.xml
Template File: sources-sinks-06.tmpl.java
*/
/*
* @description
* CWE: 129 Improper Validation of Array Index
* B... |
/*
* Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
*/
/*
* 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 licen... |
package com.raulgomis.djc;
import com.raulgomis.djc.utils.CompilerExecutor;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.fail;
class DynamicCompilerTest {
... |
package org.workflow.core.model.rate;
/**
* Copyright (c) 2016, WSO2.Telco Inc. (http://www.wso2telco.com) All Rights Reserved.
* <p>
* WSO2.Telco Inc. licences this file to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obta... |
package idv.constx.demo.common.controller;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import org.springframework.web.multipart.MultipartFile;
import org.apache.commons.fileupload.FileItem;
public class MultipartFileAdapter implements MultipartFile {
private FileItem it... |
package com.github.texxel.data.serializers;
import com.github.texxel.data.DataConverter;
import com.github.texxel.data.DataIn;
import com.github.texxel.data.DataOut;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
public class CollectionConverter implements Da... |
/**
* This code was auto-generated by a Codezu.
*
* Changes to this file may cause incorrect behavior and will be lost if
* the code is regenerated.
*/
package com.mozu.api.urls.content;
import com.mozu.api.MozuUrl;
import com.mozu.api.utils.UrlFormatter;
public class DocumentListTy... |
/*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.example.gulimall.product.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* spu图片
*
* @author TechRice
* @email trice12345@aliyun.com
* @date 2021-09-10 21:16... |
/*
* Copyright 2019-present Open Networking Foundation
*
* 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 appli... |
/*
* Copyright (C) 2014 The Android Open Source Project
*
* 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 app... |
/*
* Copyright 2015-2017 JetBrains s.r.o.
*
* 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 agre... |
/*
* 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 ... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2019 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation ... |
package dev.sheldan.abstracto.core.command.listener;
import dev.sheldan.abstracto.core.command.CommandReceivedHandler;
import dev.sheldan.abstracto.core.command.config.features.CoreFeatureDefinition;
import dev.sheldan.abstracto.core.command.execution.CommandResult;
import dev.sheldan.abstracto.core.command.execution.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.