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 ...
package com.github.promeg.tinypinyin.lexicons.android.cncity; import com.github.promeg.pinyinhelper.Pinyin; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.RobolectricTestRunner; import org.robolectric.RuntimeEnvironment; import org.robolectric.annotation.Config...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package com.developers.developers; public final class R { public static final class drawable { public static final int launch_backgro...
package train.wagons; import train.things.Coal; public class Locomotive extends AWagon { public Locomotive(){ super(WagonType.LOCOMOTIVE); storage = new Coal[1]; } public void refuel(int coalQuantity){ // TODO: Implements } public int getRemainingCoal(){ return...
package com.github.forevery.wegallery.gallery; import android.support.v7.widget.RecyclerView; import android.view.View; import android.view.ViewGroup; import jameson.io.library.util.ScreenUtil; public class CardAdapterHelper { private int mPagePadding = 15; private int mShowLeftCardWidth = 15; public v...
package org.apereo.cas.adaptors.duo.web.flow; import org.apereo.cas.BaseCasWebflowMultifactorAuthenticationTests; import org.apereo.cas.adaptors.duo.BaseDuoSecurityTests; import org.apereo.cas.authentication.CoreAuthenticationTestUtils; import org.apereo.cas.authentication.mfa.TestMultifactorAuthenticationProvider; im...
/* * Copyright (C) 2020 Peter Paul Bakker, Stokpop Software Solutions * * 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 re...
package com.squarecode.yogyatour.controller; import org.springframework.security.core.Authentication; import org.springframework.security.web.authentication.logout.LogoutSuccessHandler; import org.springframework.stereotype.Component; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest...
/* * This file is part of choco-solver, http://choco-solver.org/ * * Copyright (c) 2022, IMT Atlantique. All rights reserved. * * Licensed under the BSD 4-clause license. * * See LICENSE file in the project root for full license information. */ package org.chocosolver.solver.learn; /** * This class exposes pa...
/* * 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 2019 SolarNetwork 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...
/* * Copyright (c) 2018-present Sonatype, Inc. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/...
package asw.agents.webService.responses.errors; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; @ResponseStatus(value = HttpStatus.NOT_FOUND, reason = "User kind is required") public class RequiredKindErrorResponse extends ErrorResponse { private static fin...
/** * Copyright (c) 2014, by the Authors: John E Lloyd (UBC) * * This software is freely available under a 2-clause BSD license. Please see * the LICENSE file in the ArtiSynth distribution directory for details. */ package artisynth.core.gui.widgets; import maspack.widgets.IllegalValueException; import maspack.wi...
/* * 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...
package de.tum.in.www1.exerciseapp.service; import de.tum.in.www1.exerciseapp.domain.BuildLogEntry; import de.tum.in.www1.exerciseapp.domain.Feedback; import de.tum.in.www1.exerciseapp.domain.Participation; import de.tum.in.www1.exerciseapp.domain.Result; import org.springframework.http.ResponseEntity; import java.ne...
package com.hopscotchtrading.huobi_java_sdk.client.req.crossmargin; import java.util.Date; import java.util.List; import com.hopscotchtrading.huobi_java_sdk.constant.enums.LoanOrderStateEnum; import com.hopscotchtrading.huobi_java_sdk.constant.enums.QueryDirectionEnum; import lombok.AllArgsConstructor; import lombok....
/*- * ============LICENSE_START======================================================= * ONAP - SO * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * =============================================================...
package com.sequenceiq.cloudbreak.core.flow2.stack.image.update; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Ar...
/* * Copyright 2006 Simon Raess * * 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 ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.management.vanilla.network.models; import com.azure.core.util.ExpandableStringEnum; import com.fasterxml.jackson.annotation.JsonCreator; import ...
package ca.duncansserver.duoseedfinder; import kaptainwutax.mathutils.util.Mth; import kaptainwutax.seedutils.lcg.rand.JRand; public class RandomChecker { public static boolean isRandom(long worldSeed) { long upperBits = worldSeed >>> 32; long lowerBits = worldSeed & Mth.MASK_32; long a =...
package org.istv.ske.core.service; import java.util.List; import org.istv.ske.dal.entities.Domain; import org.istv.ske.dal.repository.DomainRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @Service public class SearchServiceImpl implements Sear...
package com.baeldung.petstore.client.api; import com.baeldung.petstore.client.invoker.ApiClient; import com.baeldung.petstore.client.model.Order; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import ...
/* Copyright 2004 The Apache Software 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 requ...
// Copyright 2018-2022 Polyaxon, 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 agre...
package bio.terra.buffer.service.resource; import bio.terra.buffer.common.Pool; import bio.terra.buffer.common.Resource; import bio.terra.buffer.common.ResourceId; import bio.terra.buffer.common.ResourceState; import bio.terra.buffer.common.ResourceType; import bio.terra.buffer.db.BufferDao; import bio.terra.common.st...
/* * Copyright 2019 The Error Prone 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 ...
/* Copyright (c) 2019-2020, Board of Trustees of the University of Iowa. All rights reserved. Use of this source code is governed by a BSD 3-Clause License that can be found in the LICENSE file. @author: M. Fareed Arif */ package edu.uiowa.clc.verdict.util; import edu.uiowa.clc.verdict.blm.BlameAssignme...
package me.cafecode.android.workshop.models; import com.google.gson.annotations.SerializedName; public class Review { @SerializedName("author_name") private String authorName; @SerializedName("author_url") private String authorUrl; @SerializedName("profile_photo_url") private String profile...
package javax0.geci.jamal.macros; import javax0.jamal.api.BadSyntax; import javax0.jamal.api.Input; import javax0.jamal.api.Macro; import javax0.jamal.api.Processor; import javax0.jamal.tools.InputHandler; import static javax0.jamal.tools.InputHandler.skipWhiteSpaces; /** * This argument fetches an identifier from ...
package mekanism.common.network.to_server; import java.util.List; import java.util.Optional; import mekanism.api.Action; import mekanism.api.AutomationType; import mekanism.api.Coord4D; import mekanism.api.MekanismAPI; import mekanism.api.chemical.Chemical; import mekanism.api.chemical.ChemicalStack; import mekanism.a...
/* * Copyright 2013 Jan Van Besien * * 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 com.alipay.b.a.a.b; import android.app.KeyguardManager; import android.bluetooth.BluetoothAdapter; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.hardware.Sensor; import android.hardware.SensorManager; import android.media.AudioManager; import...
package online.tusopiniones.repository; import java.util.Optional; import org.springframework.cache.annotation.Cacheable; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.EntityGraph; import org.springframework.data.jpa.reposi...
package com.common; import java.io.Serializable; public interface MessageInterface extends Serializable { int CLOSE_TYPE = 0; int CONTENT_TYPE = 1; int GET_NICK_TYPE = 2; int GET_HISTORY = 3; int END_HISTORY = 4; int MESSAGES_HISTORY_COUNT = 50; int DOWN_BUTTON_FACTOR = 2; String getNi...
/** * Licensed to the TomTom International B.V. under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. TomTom International B.V. * licenses this file to you under the Apache License, * Version 2.0 (the "Lic...
package com.kasisoft.libs.common.comparator; import com.kasisoft.libs.common.annotation.*; /** * @author daniel.kasmeroglu@kasisoft.net */ @Prio(7) public class Type2 { } /* ENDCLASS */
/* * Copyright (c) 2010-2015 Pivotal Software, 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 req...
/* * Copyright 2002-2020 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 ...
package dev.vality.hooker.utils; import dev.vality.damsel.base.Content; import dev.vality.damsel.domain.*; import dev.vality.damsel.json.Value; import dev.vality.damsel.payment_processing.InvoicePayment; import dev.vality.damsel.payment_processing.InvoiceRefundSession; import dev.vality.geck.serializer.kit.mock.MockMo...
// ============================================================================ // // Copyright (C) 2006-2021 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
// 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 writi...
package com.team2576.robot.subsystems; import com.team2576.robot.io.DriverInput; import com.team2576.robot.io.SensorInput; /** * The Interface SubComponent. Includes 2 basic functions to implement by all subsystems. All other * classes within the com.team2576.robot.subsystems must implement this interface....
package dk.mwittrock.cpilint.rules; import java.util.HashSet; import java.util.Set; import java.util.function.Function; import dk.mwittrock.cpilint.IflowXml; import dk.mwittrock.cpilint.artifacts.IflowArtifact; import dk.mwittrock.cpilint.artifacts.IflowArtifactTag; import dk.mwittrock.cpilint.issues.DisallowedMappin...
package com.example.gradletest; import com.example.alibrary.Person; public class ComminPerson { public Person getPerson() { return person; } private final Person person; public ComminPerson() { person = new Person(); person.setName("CommonPerson"); person.setAge(0); ...
package com.github.estekhin.set.ast; import java.util.stream.Stream; import com.github.estekhin.set.ExpressionSyntaxException; import com.github.estekhin.set.ExpressionTypeException; import org.jetbrains.annotations.NotNull; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.A...
package de.mhaeusser.threads; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.concurrent.CompletableFuture; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; // this solution do...
package kr.cleancode.dashboard.manager.web.common.service;
/* * Copyright 1999-2002 Matthew Robinson and Pavel Vorobiev. * All Rights Reserved. * * =================================================== * This program contains code from the book "Swing" * 2nd Edition by Matthew Robinson and Pavel Vorobiev * http://www.spindoczine.com/sbe * =========================...
/* * 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 strings; import java.util.*; /** * * @author yash verma */ public class ques41 { public static void main(String args[]) ...
/* * This file is part of adventure, licensed under the MIT License. * * Copyright (c) 2017-2021 KyoriPowered * * 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, inc...
public class myLearnedClase { public static void main(String[] args) { // TODO Auto-generated method stub //1 set auto-fill-in // auto activation triggers for Java ".abc...ABC" System.out.println("successful"); //2 shortcut key reminder // (1)Ctrl+Space // 说明:内容助理。提供对方法,变量,参数,javadoc等得提示, // 应运在多种场...
/** * Copyright 2021 Shulie Technology, Co.Ltd * Email: shulie@shulie.io * 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 requi...
// Targeted by JavaCPP version 1.5.5: DO NOT EDIT THIS FILE package org.bytedeco.systems.windows; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.systems.global.windows.*; @Opaque @Properti...
package com.hackathon.controller; import com.hackathon.service.CompanyInfoService; import com.hackathon.service.CompanyUsageService; import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiImplicitParams; import org.springframework.web.bind.annotation.*; import javax.annotation.Resource; impo...
package com.lichkin.framework.utils.security.base64; import java.util.Base64; import lombok.AccessLevel; import lombok.NoArgsConstructor; /** * Base64解码工具类 * @author SuZhou LichKin Information Technology Co., Ltd. */ @NoArgsConstructor(access = AccessLevel.PRIVATE) public class LKBase64Decoder { /...
package com.taikang.tkdoctor.global; import com.taikang.tkdoctor.enums.ClassroomDef; public class ClassroomType { public static String[] title_Eng_Arr = { ClassroomDef.zuixin.getBgTypeDfId(), ClassroomDef.yinshi.getBgTypeDfId(), ClassroomDef.yundong.getBgTypeDfId(), ClassroomDef.xinli.getBgTypeDfId(), ...
package org.deeplearning4j.spark.impl.graph; import org.apache.spark.api.java.JavaPairRDD; import org.apache.spark.api.java.JavaRDD; import org.apache.spark.api.java.JavaSparkContext; import org.datavec.api.records.reader.RecordReader; import org.datavec.api.records.reader.impl.csv.CSVRecordReader; import org.datavec....
package io.quarkus.grpc.runtime.supports; import static io.grpc.internal.GrpcUtil.DEFAULT_MAX_HEADER_LIST_SIZE; import static io.grpc.internal.GrpcUtil.DEFAULT_MAX_MESSAGE_SIZE; import static io.grpc.netty.NettyChannelBuilder.DEFAULT_FLOW_CONTROL_WINDOW; import java.io.IOException; import java.io.InputStream; import ...
package proteomics.Types; public class Segment implements Comparable<Segment> { private final String segmentString; private final String revertedVersion; private final int hashCode; public Segment(String segmentString) { String temp = reverseString(segmentString); // Compare the stri...
package com.google.android.gms.internal.ads; import java.io.IOException; public final class zzbfo extends zzbfc<zzbfo> { private static volatile zzbfo[] zzecw; public byte[] zzecx = null; public byte[] zzecy = null; public zzbfo() { this.zzebk = null; this.zzebt = -1; } publi...
package com.morihacky.android.rxjava.fragments; import android.os.Bundle; import android.os.Handler; import android.os.Looper; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.Lis...
/* * Copyright 2013 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...
/* * Copyright (C) 2012-2015 Typesafe Inc. <http://www.typesafe.com> */ package scala.runtime.java8; @FunctionalInterface public interface JFunction1$mcII$sp extends scala.Function1, java.io.Serializable { int apply$mcII$sp(int v1); default Object apply(Object t) { return scala.runtime.BoxesRunTime.boxToI...
// This file was generated by Mendix Studio Pro. // // WARNING: Code you write here will be lost the next time you deploy the project. package test.proxies.microflows; import java.util.HashMap; import java.util.Map; import com.mendix.core.Core; import com.mendix.core.CoreException; import com.mendix.systemw...
package io.openshift.booster.http; import javax.ws.rs.core.MediaType; import javax.json.JsonObject; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.GET; import javax.enterprise.context.ApplicationScoped; @ApplicationScoped @Path("/projects") public in...
/* * 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 ly.count.sdk.java.internal; import ly.count.sdk.java.internal.Byteable; import ly.count.sdk.java.internal.CtxCore; import ly.count.sdk.java.internal.InternalConfig; import ly.count.sdk.java.internal.Log; import ly.count.sdk.java.internal.Module; import ly.count.sdk.java.internal.ModuleCrash; import ly.count.sd...
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/** * * 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...
/* * 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.hengheng.util.omp4j.model.response.elem.comb; import com.hengheng.util.omp4j.model.base.BaseModel; import lombok.Data; /** * @author panhb */ @Data public class ReportScan extends BaseModel{ private ReportTask task; }
package scovmod.model.seeding; import it.unimi.dsi.fastutil.ints.Int2ObjectMap; import it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap; import it.unimi.dsi.fastutil.ints.IntSet; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import scovmod.model.output....
package com.intuit.benten.ai.dialogflow; //import BentenMessage; import com.intuit.benten.nlp.NlpClient; import com.intuit.benten.nlp.dialogflow.DialogFlowClient; import com.intuit.benten.properties.BentenProxyConfig; import com.intuit.benten.properties.AiProperties; import org.junit.Before; import org.junit.Test; imp...
/* * 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...
package com.huyaoban.pattern; public interface LoggerFactory { public Logger createLogger(); }
/** * 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...
public class Moto extends Veiculo { public Moto(String modelo, String cor, String combustivel, double valorTabela) { super(modelo, cor, combustivel, valorTabela); } @Override public double calculaIpva() { this.setIpva((super.getValorTabela() * 0.02)); return this.getIpva(); } }
package com.kurlabo.backend.dto.member; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data @AllArgsConstructor @NoArgsConstructor public class TokenDto { private String token; }
package org.dreamcat.rita.jpa.dao; import org.dreamcat.rita.jpa.entity.PostTagEntity; import org.springframework.data.jpa.repository.JpaRepository; import java.util.List; /** * Create by tuke on 2020/3/10 */ public interface PostTagDao extends JpaRepository<PostTagEntity, Long> { PostTagEntity findByPidAndTid...
/* Android Asynchronous Http Client Copyright (c) 2011 James Smith <james@loopj.com> http://loopj.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.apac...
package org.xxpay.service.channel.tencent.service; import org.xxpay.service.channel.tencent.common.Configure; import org.xxpay.service.channel.tencent.protocol.reverse_protocol.ReverseReqData; /** * User: rizenguo * Date: 2014/10/29 * Time: 16:04 */ public class ReverseService extends BaseService { public Re...
package site.teamo.mall.common.util; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.net.URLEncod...
package com.example.android.kubernetesclient; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.Spinner; import android.widget.TextView; impo...
// JOOS1:PARSER_WEEDER,PARSER_EXCEPTION // JOOS2:PARSER_WEEDER,PARSER_EXCEPTION // JAVAC:UNKNOWN // /** * Parser/weeder: * - Values cannot be extended */ public class Je_1_Extends_Value extends 4 { public Je_1_Extends_Value() { } public static int test() { return 123; } }
package com.flowci.core.trigger.domain; import com.flowci.util.ObjectsHelper; import com.flowci.util.StringHelper; import lombok.Getter; import lombok.Setter; import org.springframework.data.mongodb.core.mapping.Document; import javax.validation.constraints.NotEmpty; import javax.validation.constraints.Pattern; impor...
package com.dgex.offspring.application.parts; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; import nxt.Block; import nxt.util.Convert; import org.apache.log4j.Logger; import org.eclipse.e4.ui.di.UISynchronize; import org.eclipse.e4.ui.services.IStylingEngine; import org.eclipse.jfa...
/* * Copyright 2002-2013 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...
package org.lttpp.eemory.ui; import org.apache.commons.lang3.StringUtils; import org.eclipse.jface.fieldassist.IContentProposal; import org.eclipse.jface.fieldassist.SimpleContentProposalProvider; public class ConfigContentProposalProvider extends SimpleContentProposalProvider { private String byOperator; p...
// // ======================================================================== // Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available und...
package com.ruoyi.project.system.dict.domain; import javax.validation.constraints.*; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.framework.aspectj.lang.annotation.Excel; import com.ruoyi.framework.aspectj.lang.annotation.Excel.ColumnT...
/* * $Id: ObjectListener.java,v 1.14 2007/05/29 13:36:44 jeffmc Exp $ * * Copyright 1997-2020 Unidata Program Center/University Corporation for * Atmospheric Research, P.O. Box 3000, Boulder, CO 80307, * support@unidata.ucar.edu. * * This library is free software; you can redistribute it and/or modify it * und...
package guru.springframework.sfgpetclinic.services.springdatajpa; import guru.springframework.sfgpetclinic.repositories.VetRepository; import guru.springframework.sfgpetclinic.services.VetService; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.InjectMocks; impo...
/* * * Copyright 2012-2014 Eurocommercial Properties NV * * * 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 req...
/* * 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")...
import org.antlr.runtime.*; import org.antlr.runtime.tree.*; public class Main { public static void main(String[] args) throws Exception { CharStream input = new ANTLRFileStream(args[0]); SimpleCLexer lex = new SimpleCLexer(input); CommonTokenStream tokens = new CommonTokenStream(lex); SimpleCParser parser = ...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
/* * Copyright 2010-2011 Nabeel Mukhtar * * 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...