text
stringlengths
7
1.01M
package net.andreho.utils; import java.lang.reflect.Field; /** * <br/>Created by a.hofmann on 19.07.2014 at 03:00<br/> */ public class StringUtils { private static final Field VALUE_FIELD; static { Field contentField = null; for (Field field : String.class.getDeclaredFields()) { if ("val...
package io.quarkus.qute; import static io.quarkus.qute.Booleans.isFalsy; import io.quarkus.qute.SectionHelperFactory.SectionInitContext; import java.math.BigDecimal; import java.math.BigInteger; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.ListIterator; import java.ut...
// // ======================================================================== // Copyright (c) 1995-2019 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
/* * Copyright 2015 S. Webber * * 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...
/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) 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 * * Un...
package com.github.relucent.base.common.bean; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.security.AccessController; import java.security.PrivilegedAction; import java.util.ArrayList; import java.util.List; import java.util.M...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE129_Improper_Validation_of_Array_Index__negative_fixed_array_read_no_check_16.java Label Definition File: CWE129_Improper_Validation_of_Array_Index.label.xml Template File: sources-sinks-16.tmpl.java */ /* * @description * CWE: 129 Improper Validation of Array Index * Ba...
/*- * #%L * mastodon-tracking * %% * Copyright (C) 2017 - 2021 Tobias Pietzsch, Jean-Yves Tinevez * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above ...
/* * Copyright 2003-2012 Yusuke Yamamoto * * 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 2013 LiveRamp * * 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...
/* * Copyright 2010-2015 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...
/* * Copyright 2019 Jan de Jongh <jfcmdejongh@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 by ...
package club.minnced.discord.webhook.jsone; /* Copyright (c) 2008 JSON.org 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...
package org.md2k.medication; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.preference.Preference; import android.preference.PreferenceCategory; import android.preference.PreferenceFragment; import android.support.v4.conte...
/* SDN DDOS Mitigation Security Project @ CSUF Computing Lab * by Vincent Tran @vuqt1.uci.edu | Ver: 1.0 | July 18th, 2017 * * Purpose: One of the Actions interface implementation is to block attacking hosts, * please refer to my paper for more detail */ package net.floodlightcontroller.blackbox; import net.flo...
package de.epages.ws.pricelist; import javax.xml.rpc.ServiceException; import de.epages.ws.StubConfigurator; import de.epages.ws.WebServiceConfiguration; import de.epages.ws.pricelist.stub.Bind_PriceList_SOAPStub; import de.epages.ws.pricelist.stub.Port_PriceList; import de.epages.ws.pricelist.stub.PriceListService; ...
package com.auth0.jwk; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.annotations.VisibleForTesting; import com.google.common.collect.Lists; ...
/* * (C) Copyright IBM Corp. 2021, 2022 * * SPDX-License-Identifier: Apache-2.0 */ package com.ibm.fhir.search.tool; import java.io.BufferedWriter; import java.nio.charset.Charset; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Collection; import java.util.List;...
package org.ihtsdo.termserver.scripting.reports; import java.io.File; import java.io.IOException; import java.util.*; import java.util.regex.*; import org.ihtsdo.otf.exception.TermServerScriptException; import org.ihtsdo.termserver.scripting.ReportClass; import org.ihtsdo.termserver.scripting.domain.*; import org.iht...
package org.partners.usciitg_prep.fhir.cql; import static org.junit.Assert.assertEquals; import java.io.IOException; import java.math.BigDecimal; import java.util.HashMap; import java.util.Map; import javax.xml.bind.JAXBException; import org.cqframework.cql.cql2elm.ModelManager; import org.cqframework.cql.elm.execu...
package com.auth.model; import java.util.Date; /** * 菜单表Auth_Menu * @author lifangyu * @version V1.0 */ public class AuthMenu { private Long id; private String menuName; private String menuUrl; private String iconUrl; private Long parentId; private Integer folder...
/** */ package gluemodel.substationStandard.LNNodes.LNGroupP; import gluemodel.substationStandard.Dataclasses.ACD; import gluemodel.substationStandard.Dataclasses.ACT; import gluemodel.substationStandard.Dataclasses.ASG; import gluemodel.substationStandard.Dataclasses.CSD; import gluemodel.substationStandard.Dataclas...
/* * 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 com.example.pseimage; import java.awt.image.BufferedImage; import java.io.File; import java.io.FileNotFoundException;...
/** * */ package org.irods.jargon.core.utils; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.irods.jargon.core.exception.JargonException; import org.irods.jargon.core.pub.domain.AvuData; import org.irods.jargon.core.query.IRODSQueryResultRow; import org.irods.jargon.core.query....
/* * MIT License * * Copyright (c) 2019 Choko (choko@curioswitch.org) * * 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 * ...
/* * libjingle * Copyright 2014 Google Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the fo...
/* * Copyright (c) 2016 Couchbase, 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 law or agr...
// wird ueblicherweise mit regex gelöst public class CheckPassword{ static char[] SONDERZEICHEN = {'(', ')', '#', '$', '?', '!', '%', '/', '@'}; public boolean checkPassword(String kennwort) { boolean isCorrectLength = checkLaenge(kennwort); boolean isCorrectCase = kleinGross(kennwort); ...
/* * Copyright (c) 2016 WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses 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 obtain a copy of the License at * * http://www.apache.org...
package nl.isaac.comp.configuration.visitor; import java.util.Stack; import org.apache.commons.configuration.tree.ConfigurationNode; import org.apache.commons.configuration.tree.ConfigurationNodeVisitor; public class ToStringMultiLineVisitor implements ConfigurationNodeVisitor { private Stack<String> parentStack =...
/* * 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 ...
/* * Copyright 2020 Google LLC * * 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 wr...
/** * blackduck-installer * * Copyright (c) 2021 Synopsys, Inc. * * 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 y...
package net.osmand.plus.base; import android.app.Activity; import android.app.Dialog; import android.content.DialogInterface; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.Window; imp...
package com.github.rmannibucau.maven.extension.fn; import org.codehaus.plexus.util.xml.Xpp3Dom; import java.util.function.Function; public class StripChildRewrite implements Function<Xpp3Dom, Xpp3Dom> { private final String tag; public StripChildRewrite(final String tag) { this.tag = tag; } ...
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.ui; import com.intellij.CommonBundle; import com.intellij.openapi.application.Application; import com.intellij.openapi.application.ApplicationManager...
package camel_case_v14.robot.building; import battlecode.common.GameActionException; import battlecode.common.RobotController; import battlecode.common.RobotType; import camel_case_v14.dijkstra.Dijkstra53; public class Laboratory extends Building { public Laboratory(RobotController rc) { super(rc, RobotTy...
// -------------------------------------------------------------------------------- // Copyright 2002-2021 Echo Three, LLC // // 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:/...
package summarizer; import java.util.LinkedList; import java.util.List; import java.util.Properties; import edu.stanford.nlp.ling.CoreAnnotations.LemmaAnnotation; import edu.stanford.nlp.ling.CoreAnnotations.SentencesAnnotation; import edu.stanford.nlp.ling.CoreAnnotations.TokensAnnotation; import edu.stanford.nlp.li...
package gameengine.particule; import gameengine.world.Level; import java.util.ArrayList; import java.util.Iterator; import java.util.List; /** * Class that handle all the particle and the emitter. * @author Main * */ public class ParticuleEngine { private List<Emitter> lstEmitter = new ArrayList<>(); private L...
/* * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package jadx.core.dex.instructions.args; import org.jetbrains.annotations.*; import jadx.core.dex.info.*; // TODO: don't extend RegisterArg (now used as a result of instruction) public final class FieldArg extends RegisterArg { private final FieldInfo field; // instArg equal 'null' for static fields @Nullable p...
package camelinaction; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import org.apache.camel.builder.NotifyBuilder; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.file.GenericFile; import org.apache.camel.test...
package ru.job4j.nonblocking; public class Base { private int id; private int version; public Base(int id, int version) { this.id = id; this.version = version; } public int getId() { return id; } public int getVersion() { return version; } public ...
package org.apache.kafka.connect.mixpanel; import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; import com.mashape.unirest.http.async.Callback; import com.mashape.unirest.http.exceptions.UnirestException; import java.util.concurrent.BlockingQueue; import java.util.concurrent.Future; ...
package com.heriec.blogmaster.dto; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.ToString; @Data @AllArgsConstructor @NoArgsConstructor @ToString public class UserSelfModify { Integer id; String username; String oldPassword; String newPassword; }
package com.alibaba.edas.benchmark; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class Ord...
package org.apereo.cas.configuration.model.core; import lombok.Getter; import lombok.Setter; import org.apereo.cas.configuration.support.RequiresModule; import java.io.Serializable; /** * This is {@link CasJavaClientProperties}. * * @author Misagh Moayyed * @since 5.3.0 */ @RequiresModule(name = "cas-server-cor...
/////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2001, Eric D. Friedman All Rights Reserved. // Copyright (c) 2009, Rob Eden All Rights Reserved. // Copyright (c) 2009, Jeff Randall All Rights Reserved. // // This library is free software; you can redistribute it and/or /...
/******************************************************************************* * Copyright 2014 See AUTHORS file. * <p> * 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 * <p> * http://w...
/* * Copyright 2013 Google 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 law or agreed to in w...
package org.jfantasy.framework.lucene.dao.mybatis; import java.util.HashMap; import java.util.Map; import java.util.Properties; import org.apache.ibatis.mapping.MappedStatement; import org.apache.ibatis.mapping.SqlCommandType; import org.apache.ibatis.plugin.Interceptor; import org.apache.ibatis.plugin.Invocation; imp...
package com.begin.gulimall.ware.service; import com.baomidou.mybatisplus.extension.service.IService; import com.begin.gulimall.common.utils.PageUtils; import com.begin.gulimall.ware.entity.WareOrderTaskEntity; import java.util.Map; /** * 库存工作单 * * @author zzg * @email 834561898@gmail.com * @date 2021-08-07 17:4...
/* * 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 not ...
package com.rometools.utils; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.nullValue; import org.junit.Test; public class LongsTest { @Test public void testParseDecimal() { final String nullString = null...
/* * This file was automatically generated by EvoSuite * Sat Nov 28 06:54:45 GMT 2020 */ package org.dom4j.io; import org.junit.Test; import static org.junit.Assert.*; import static org.evosuite.runtime.EvoAssertions.*; import org.dom4j.io.OutputFormat; import org.evosuite.runtime.EvoRunner; import org.evosuite.ru...
package dai.hris.action.reports; import java.io.File; import java.io.IOException; 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 java.io.Inpu...
/* */ package mcheli.mcheli.wrapper; /* */ /* */ import net.minecraft.client.entity.EntityPlayerSP; /* */ import net.minecraft.entity.Entity; /* */ /* */ /* */ public class W_EntityPlayerSP /* */ { /* */ public static void closeScreen(Entity p) { /* 10 */ if (p instanceof EntityPlaye...
package com.hltech.pact.gen.domain.client.jaxrs.sample; import javax.ws.rs.GET; import javax.ws.rs.MatrixParam; import javax.ws.rs.Path; import javax.ws.rs.core.Response; public class RequestMatrixParamJaxRsClient { @GET @Path(value = "/testWithMatrixParameters") public Response httpGetWithMatrixParamete...
/* * 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 place.circuit.architecture; import java.io.Serializable; public class PortType implements Serializable, Comparable<PortType> { private static final long serialVersionUID = 8336333602345751378L; private int typeIndex; public PortType(BlockType blockType, String portName) { this(blockTy...
package phoenix.util; public class Constants { public final static String CONF_SPRING_ITEM = "classpath*:spring.xml"; public final static String CONF_DATASOURCE_ITEM = "dataSource"; public final static String CONF_LOGCONFIG_ITEM = "logConfig"; }
package com.demo.common.model; import javax.sql.DataSource; import com.demo.common.DemoConfig; import com.jfinal.kit.PathKit; import com.jfinal.kit.PropKit; import com.jfinal.plugin.activerecord.generator.Generator; import com.jfinal.plugin.druid.DruidPlugin; /** * 本 demo 仅表达最为粗浅的 jfinal 用法,更为有价值的实用的企业级用法 * 详见 JFin...
package org.apache.jsp.advanced; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; import org.eclipse.help.internal.webapp.data.*; public final class searchScoped_jsp extends org.apache.jasper.runtime.HttpJspBase implements org.apache.jasper.runtime.JspSourceDependent { ...
/** * Copyright 2013 Netflix, 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 law or agreed ...
package pro.fessional.meepo.bind.txt; import org.jetbrains.annotations.NotNull; import pro.fessional.meepo.bind.Exon; import pro.fessional.meepo.bind.wow.Clop; import pro.fessional.meepo.util.Dent; import java.io.IOException; import java.io.StringWriter; import java.io.Writer; import java.util.Objects; /** * <pre> ...
package com.zw.platform.domain.other.protocol.jl.resp; import lombok.Data; import lombok.NoArgsConstructor; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlRootElement; /** * @Descrip...
package us.codecraft.webmagic.scheduler.component; import us.codecraft.webmagic.Request; import us.codecraft.webmagic.Task; import java.util.Collections; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; /** * @author code4crafer@gmail.com */ public class HashSetDuplicateRemover implements Dupli...
/* * Copyright (C) 2014-2021 Philip Helger (www.helger.com) * philip[at]helger[dot]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/LICEN...
/* * 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 2020 Itzbenz * * 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 w...
package com.microsoft.bingads.v11.bulk.entities; import com.microsoft.bingads.v11.bulk.BulkServiceManager; import com.microsoft.bingads.v11.campaignmanagement.AdGroupCriterion; import com.microsoft.bingads.v11.campaignmanagement.AdGroupCriterionStatus; import com.microsoft.bingads.v11.campaignmanagement.ArrayOfWe...
/* * JBoss, Home of Professional Open Source * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may ...
/* * Copyright © 2017 camunda services GmbH (info@camunda.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 ...
/* * 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...
/* * 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 com.gpmall.user.services; import com.alibaba.fastjson.JSON; import com.gpmall.user.IUserLoginService; import com.gpmall.user.constants.SysRetCodeConstants; import com.gpmall.user.converter.UserConverterMapper; import com.gpmall.user.dal.entitys.Member; import com.gpmall.user.dal.persistence.MemberMapper; impor...
/**************************************************************** * 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...
package com.codepath.apps.restclienttemplate; import android.content.Intent; import android.os.Bundle; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import androi...
/* * Copyright © 2021 the original author or authors (photowey@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 * * Unles...
package net.minecraft.world.level.block.entity; import com.google.common.collect.Iterables; import com.mojang.authlib.GameProfile; import com.mojang.authlib.minecraft.MinecraftSessionService; import com.mojang.authlib.properties.Property; import java.util.UUID; import java.util.concurrent.Executor; import java.util.fu...
package sse.ustc.edu; public class MaximumSubarray { public int maxSubArray(int[] nums) { int max = Integer.MIN_VALUE; int sum = 0; for(int i = 0; i < nums.length; i ++) { sum += nums[i]; if(sum > max) max = sum; if(sum < 0)...
/** * */ package com.romaway.common.android.base; import com.romaway.common.net.ANetMsg; import com.romaway.common.net.receiver.ANetMsgReceiver; /** * @author duminghui * */ public class BaseNetMsgReceiver extends ANetMsgReceiver { // private class ReceiveRun implements Runnable // { // private ANetMsg msg;...
/* * 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.xinxin.wotplus; import android.app.Application; import android.content.Context; import android.util.Log; import java.util.Set; import cn.jpush.android.api.JPushInterface; import cn.jpush.android.api.TagAliasCallback; /** * Created by xinxin on 2016/3/22. */ public class MyApplication extends Applicati...
/* * 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 br.senac.tads3.Daos; import br.senac.tads3.CRUDVenda.ItemVenda; import br.senac.tads3.CRUDVenda.Venda; import br.senac.tads3.ConnectionBD.ConnectionUtils; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; ...
package io.dropwizard.jetty; import com.codahale.metrics.MetricRegistry; import io.dropwizard.configuration.YamlConfigurationFactory; import io.dropwizard.jackson.DiscoverableSubtypeResolver; import io.dropwizard.jackson.Jackson; import io.dropwizard.util.Resources; import io.dropwizard.validation.BaseValidator; impor...
package cn.oomkiller.paxos4j.node; public interface Node { void runNode(); void stopNode(); boolean commitNewValue(byte[] value); long getMyNodeId(); }
/* * 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") + yo...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.servicefabric.models; import com.azure.core.annotation.Fluent; import com.azure.core.management.ProxyResource; import com.azure....
package com.mulecode.jwtserver.resource; import com.mulecode.jwtserver.client.ClientRegistrationException; import com.mulecode.jwtserver.resource.model.ErrorObject; import com.mulecode.jwtserver.resource.model.ResponseError; import com.mulecode.jwtserver.user.UserDetailsException; import org.slf4j.Logger; import org.s...
package software.amazon.awssdk.services.jsonprotocoltests.transform; import software.amazon.awssdk.annotations.Generated; import software.amazon.awssdk.annotations.SdkInternalApi; import software.amazon.awssdk.core.exception.SdkClientException; import software.amazon.awssdk.core.runtime.transform.Marshaller; import so...
/** * The MIT License * Copyright (c) 2014-2016 Ilkka Seppälä * <p> * 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 us...
/* * 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 ...
/* * 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 ...
import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import javax.swing.JFrame; import javax.swing.JLabel; public class User { private JFrame window = new JFrame("Warning"); public Object[][] data; public User(int n, String u...
/* 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...
package main.java.org.volumelighting.test; import com.jme3.app.SimpleApplication; import com.jme3.cinematic.MotionPath; import com.jme3.cinematic.events.MotionEvent; import com.jme3.light.PointLight; import com.jme3.light.SpotLight; import com.jme3.material.Material; import com.jme3.math.ColorRGBA; import com.jme3....
/* * 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 ...